fix nonetype
This commit is contained in:
parent
f351e477e3
commit
8c57391b54
1 changed files with 2 additions and 1 deletions
1
main.py
1
main.py
|
@ -352,6 +352,7 @@ def start():
|
|||
|
||||
if need_changes:
|
||||
# Clean old rules
|
||||
if old_rules:
|
||||
stream.delete_rules([rule.id for rule in old_rules])
|
||||
|
||||
# Add new rules
|
||||
|
|
Reference in a new issue