Skip to content

Commit

Permalink
smartplugin.py: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 authored Jun 21, 2024
1 parent f63d421 commit 9e31509
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 @@ -994,7 +994,7 @@ def scheduler_remove(self, name):
"""
try:
self._schedulers.remove(name)
except KeyError:
except ValueError:
pass # TODO: maybe give a warning?
if name != '':
name = '.' + name
Expand Down

0 comments on commit 9e31509

Please sign in to comment.