flake 8 fix

This commit is contained in:
creslinux 2018-07-05 12:05:31 +00:00
parent 966668f48a
commit 5ab644dea6

View File

@ -135,9 +135,10 @@ class Exchange(object):
"""
Checks if ticker interval from config is a supported timeframe on the exchange
"""
timeframes=self._api.timeframes
timeframes = self._api.timeframes
if timeframe not in timeframes:
raise OperationalException(f'Invalid ticker {timeframe}, this Exchange supports {timeframes}')
raise OperationalException(
f'Invalid ticker {timeframe}, this Exchange supports {timeframes}')
def exchange_has(self, endpoint: str) -> bool:
"""