From 842b0c227079fba224e845e10495cb06150fcb48 Mon Sep 17 00:00:00 2001 From: Samuel Husso Date: Sun, 29 Apr 2018 18:55:43 +0300 Subject: [PATCH] Exchange: fix missing comma and typehinting per PR comments --- freqtrade/exchange/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/exchange/__init__.py b/freqtrade/exchange/__init__.py index 91d2493cc..156afd5ee 100644 --- a/freqtrade/exchange/__init__.py +++ b/freqtrade/exchange/__init__.py @@ -45,7 +45,7 @@ def retrier(f): return wrapper -def init_ccxt(exchange_config: dict) -> ccxt: +def init_ccxt(exchange_config: dict) -> ccxt.Exchange: """ Initialize ccxt with given config and return valid ccxt instance. @@ -62,7 +62,7 @@ def init_ccxt(exchange_config: dict) -> ccxt: 'apiKey': exchange_config.get('key'), 'secret': exchange_config.get('secret'), 'password': exchange_config.get('password'), - 'uid': exchange_config.get('uid' ''), + 'uid': exchange_config.get('uid', ''), 'enableRateLimit': True, }) except (KeyError, AttributeError):