diff options
-rw-r--r-- | servo/tasks.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servo/tasks.py b/servo/tasks.py index 3323dd4..7f25069 100644 --- a/servo/tasks.py +++ b/servo/tasks.py @@ -39,9 +39,9 @@ def apply_rules(event): for r in rules: - if (r['event'] == event.action) and - (r['match'] == event.description) or - (r['event'] == 'create'): + if (r['event'] == event.action and + r['match'] == event.description or + r['event'] == 'create'): if isinstance(r['data'], dict): tpl_id = r['data']['template'] |