Fixed another type error

This commit is contained in:
Mohammad Dashti 2021-09-16 14:21:21 -07:00
parent 938c04c4b2
commit 8db216a4f5

View File

@ -1530,7 +1530,7 @@ class Exchange:
logger.debug("Cached the intermediate trades in %s", tmpdata_file)
else:
from_id = trades_list[0][1] if trades_list else 0
datadir = datadir or ""
datadir = datadir or Path(".")
tmpdata_file = self._intermediate_trades_file(datadir, pair, from_id)
logger.debug("DID NOT CACHE the intermediate trades in %s with len=%s",
tmpdata_file, len(trades_list))