From 0a7eed2767829054abc39576b26a48bb13a03815 Mon Sep 17 00:00:00 2001 From: Arksine Date: Sat, 19 Dec 2020 14:05:11 -0500 Subject: [PATCH] update_manager: fix bug in "check_initialized" methods Signed-off-by: Eric Callahan --- moonraker/plugins/update_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moonraker/plugins/update_manager.py b/moonraker/plugins/update_manager.py index d14f438..cbcc8ae 100644 --- a/moonraker/plugins/update_manager.py +++ b/moonraker/plugins/update_manager.py @@ -238,7 +238,7 @@ class GitUpdater: if self.init_evt.is_set(): return if timeout is not None: - to = IOLoop.current.time() + timeout + to = IOLoop.current().time() + timeout await self.init_evt.wait(to) async def refresh(self): @@ -463,7 +463,7 @@ class ClientUpdater: if self.init_evt.is_set(): return if timeout is not None: - to = IOLoop.current.time() + timeout + to = IOLoop.current().time() + timeout await self.init_evt.wait(to) async def refresh(self):