Falko Schindler před 1 rokem
rodič
revize
82a9059f9a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      nicegui/nicegui.py

+ 1 - 1
nicegui/nicegui.py

@@ -241,7 +241,7 @@ async def prune_slot_stacks() -> None:
                 del globals.slot_stacks[id_]
         except Exception:
             # NOTE: make sure the loop doesn't crash
-            globals.log.exception('Error while pruning slot stacks')
+            log.exception('Error while pruning slot stacks')
         await asyncio.sleep(10)