delete unnecessary arguments

This commit is contained in:
iuvbio
2019-02-18 01:03:09 +01:00
parent 4241caef95
commit eed1c2344d
2 changed files with 3 additions and 4 deletions

View File

@@ -17,13 +17,12 @@ class ExchangeResolver(IResolver):
__slots__ = ['exchange']
def __init__(self, exchange_name: str, freqtrade, config: dict) -> None:
def __init__(self, exchange_name: str, config: dict) -> None:
"""
Load the custom class from config parameter
:param config: configuration dictionary or None
"""
self.exchange = self._load_exchange(exchange_name, kwargs={'freqtrade': freqtrade,
'config': config})
self.exchange = self._load_exchange(exchange_name, kwargs={'config': config})
def _load_exchange(
self, exchange_name: str, kwargs: dict) -> Exchange: