fix flake8 warning
This commit is contained in:
parent
27f83b511f
commit
a2a1a517da
@ -277,7 +277,7 @@ def get_ticker(pair: str, refresh: Optional[bool] = True) -> dict:
|
|||||||
'bid': float(data['bid']),
|
'bid': float(data['bid']),
|
||||||
'ask': float(data['ask']),
|
'ask': float(data['ask']),
|
||||||
}
|
}
|
||||||
except KeyError as e:
|
except KeyError:
|
||||||
logger.debug("Could not cache ticker data for %s", pair)
|
logger.debug("Could not cache ticker data for %s", pair)
|
||||||
return data
|
return data
|
||||||
except (ccxt.NetworkError, ccxt.ExchangeError) as e:
|
except (ccxt.NetworkError, ccxt.ExchangeError) as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user