Fixed runaway thread creation (faulty indenting)

This commit is contained in:
Tom Watson 2022-07-12 00:19:19 +07:00
parent b594fd4263
commit 2fa7931783

View file

@ -73,9 +73,8 @@ def update_publicip_information(module):
# Update widget values # Update widget values
core.event.trigger("update", [widget.module.id], redraw_only=True) core.event.trigger("update", [widget.module.id], redraw_only=True)
# Wait __interval seconds before checking for default route changes again # Wait __interval seconds before checking for default route changes again
time.sleep(__interval) time.sleep(__interval)
class Module(core.module.Module): class Module(core.module.Module):
@core.decorators.every(minutes=60) @core.decorators.every(minutes=60)