aboutsummaryrefslogtreecommitdiffstats
path: root/servo/models/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'servo/models/common.py')
-rw-r--r--servo/models/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/models/common.py b/servo/models/common.py
index 4338405..76d9ffd 100644
--- a/servo/models/common.py
+++ b/servo/models/common.py
@@ -171,7 +171,7 @@ class Event(BaseItem):
def save(self, *args, **kwargs):
saved = super(Event, self).save(*args, **kwargs)
- if settings.ENABLE_RULES:
+ if settings.ENABLE_RULES is True:
from servo.tasks import apply_rules
apply_rules.delay(self)