Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ etf_choices = [
|
|
| 44 |
for i in range(5)
|
| 45 |
]
|
| 46 |
tickers = [etf_options[choice] for choice in etf_choices if etf_options[choice]] # Nur nicht-leere Auswahlen
|
| 47 |
-
tickers = list(dict.fromkeys(tickers)) # Entfernt Duplikate
|
| 48 |
|
| 49 |
if len(tickers) < 2:
|
| 50 |
st.sidebar.error("Bitte wählen Sie mindestens 2 verschiedene ETFs aus.")
|
|
|
|
| 44 |
for i in range(5)
|
| 45 |
]
|
| 46 |
tickers = [etf_options[choice] for choice in etf_choices if etf_options[choice]] # Nur nicht-leere Auswahlen
|
| 47 |
+
tickers = list(dict.fromkeys(tickers)) # Entfernt Duplikate
|
| 48 |
|
| 49 |
if len(tickers) < 2:
|
| 50 |
st.sidebar.error("Bitte wählen Sie mindestens 2 verschiedene ETFs aus.")
|