Make mypy happy

This commit is contained in:
hroff-1902 2020-06-02 18:43:37 +03:00
parent 123a556ec8
commit 85fedf95e8

View File

@ -890,7 +890,7 @@ class Exchange:
logger.debug(f"_async_get_trade_history(), pair: {pair}, "
f"since: {since}, until: {until}, from_id: {from_id}")
if not until:
if until is None:
exchange_msec = ccxt.Exchange.milliseconds()
logger.debug(f"Exchange milliseconds: {exchange_msec}")
until = exchange_msec