diff --git a/moonraker/components/file_manager.py b/moonraker/components/file_manager.py index 1a33993..8afafb4 100644 --- a/moonraker/components/file_manager.py +++ b/moonraker/components/file_manager.py @@ -981,7 +981,7 @@ class NotifySyncLock: self.wait_fut.set_result(None) # Transfer control to waiter if timeout is not None: - timeout = IOLoop().time() + timeout + timeout = IOLoop.current().time() + timeout try: await self.sync_condition.wait(timeout) except Exception: