flake 8 fix
This commit is contained in:
parent
966668f48a
commit
5ab644dea6
@ -135,9 +135,10 @@ class Exchange(object):
|
|||||||
"""
|
"""
|
||||||
Checks if ticker interval from config is a supported timeframe on the exchange
|
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:
|
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:
|
def exchange_has(self, endpoint: str) -> bool:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user