Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
whittlem committed Jul 29, 2023
1 parent 30c5bb1 commit a743abc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Python Crypto Bot v8.0.13 (pycryptobot)
# Python Crypto Bot v8.0.14 (pycryptobot)

[![Docker](https://github.com/whittlem/pycryptobot/actions/workflows/container.yml/badge.svg)](https://github.com/whittlem/pycryptobot/actions/workflows/container.yml/badge.svg) [![Tests](https://github.com/whittlem/pycryptobot/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/whittlem/pycryptobot/actions/workflows/unit-tests.yml/badge.svg)

Expand Down
2 changes: 1 addition & 1 deletion models/config/coinbase_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def parser(app, coinbase_config, args={}):
except Exception:
raise RuntimeError(f"Unable to read {app.api_key_file}")

if coinbase_config["config"]["api_url"] is not None:
if "api_url" in coinbase_config["config"]:
coinbase_config["api_url"] = coinbase_config["config"]["api_url"]

if "api_key" in coinbase_config and "api_secret" in coinbase_config and "api_url" in coinbase_config:
Expand Down

0 comments on commit a743abc

Please sign in to comment.