JQ87 commited on
Commit
44d6b36
·
verified ·
1 Parent(s): d4ab63d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, falls vorhanden
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.")