Update exchange.py

This commit is contained in:
Robert Caulk
2022-08-07 15:28:53 +02:00
committed by GitHub
parent 2b881e3789
commit caf01e9a45

View File

@@ -482,7 +482,7 @@ class Exchange:
def reload_markets(self) -> None:
"""Reload markets both sync and async if refresh interval has passed """
asyncio.set_event_loop(self.loop)
asyncio.set_event_loop(self.loop)
# Check whether markets have to be reloaded
if (self._last_markets_refresh > 0) and (
self._last_markets_refresh + self.markets_refresh_interval