Skip to content

Commit 04991a5

Browse files
committed
[CCXT] fix exchange Authorization header
1 parent 63db33b commit 04991a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octobot_trading/exchanges/connectors/ccxt/ccxt_client_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def _get_client_config(
299299
api_key=None, secret=None, password=None, uid=None,
300300
auth_token=None, auth_token_header_prefix=None
301301
):
302-
if auth_token is not None:
302+
if auth_token:
303303
headers["Authorization"] = f"{auth_token_header_prefix or ''}{auth_token}"
304304
config = {
305305
'verbose': constants.ENABLE_CCXT_VERBOSE,

0 commit comments

Comments
 (0)