Merge pull request #902 from tfwiii/main
Fixed runaway thread creation (faulty indenting)
This commit is contained in:
commit
39f7ad9a75
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue