Merge pull request #902 from tfwiii/main

Fixed runaway thread creation (faulty indenting)
This commit is contained in:
tobi-wan-kenobi 2022-07-11 19:43:01 +02:00 committed by GitHub
commit 39f7ad9a75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)