Skip to content

Commit

Permalink
fix: read expanded config path
Browse files Browse the repository at this point in the history
  • Loading branch information
chadsr committed May 27, 2024
1 parent d0c0311 commit 3f74b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waybar_crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def main():
if not os.path.isfile(config_path):
raise WaybarCryptoException(f"configuration file not found at '{config_path}'")

config = read_config(args["config_path"])
config = read_config(config_path)
waybar_crypto = WaybarCrypto(config)
quotes_latest = waybar_crypto.coinmarketcap_latest()
output = waybar_crypto.waybar_output(quotes_latest)
Expand Down

0 comments on commit 3f74b51

Please sign in to comment.