Skip to content

Commit 8558af3

Browse files
committed
remove impossible edge-case handling
1 parent 827cbf7 commit 8558af3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

waybar_crypto.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ def read_config(config_path: str) -> Config:
160160
coins: dict[str, ConfigCoin] = {}
161161
for coin_name in coin_names:
162162
coin_symbol = coin_name.upper()
163-
if coin_symbol in coins:
164-
# duplicate entry, skip
165-
continue
166-
167163
display_in_tooltip = DEFAULT_COIN_CONFIG_TOOLTIP
168164
if "in_tooltip" in cfp[coin_name]:
169165
display_in_tooltip = cfp.getboolean(coin_name, "in_tooltip")

0 commit comments

Comments
 (0)