Skip to content

Commit

Permalink
remove impossible edge-case handling
Browse files Browse the repository at this point in the history
  • Loading branch information
chadsr committed May 27, 2024
1 parent 827cbf7 commit 8558af3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions waybar_crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ def read_config(config_path: str) -> Config:
coins: dict[str, ConfigCoin] = {}
for coin_name in coin_names:
coin_symbol = coin_name.upper()
if coin_symbol in coins:
# duplicate entry, skip
continue

display_in_tooltip = DEFAULT_COIN_CONFIG_TOOLTIP
if "in_tooltip" in cfp[coin_name]:
display_in_tooltip = cfp.getboolean(coin_name, "in_tooltip")
Expand Down

0 comments on commit 8558af3

Please sign in to comment.