Skip to content

Commit

Permalink
lib.smartplugin: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 authored Jul 14, 2024
1 parent 46fa847 commit 26f1de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model/smartplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ def scheduler_get_all(self):

def scheduler_remove_all(self):
""" This method removes all schedulers added by the plugin """
for sched in self._schedulers:
for sched in self._schedulers.copy():
try:
self.scheduler_remove(sched)
except Exception:
Expand Down

0 comments on commit 26f1de6

Please sign in to comment.