aboutsummaryrefslogtreecommitdiffstats
path: root/servo/models/common.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-08-25 23:14:46 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-08-25 23:14:46 +0300
commit84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0 (patch)
treef9106ff7712df687ef7bacc72d0014c1b34d6b25 /servo/models/common.py
parent09731610e0c037a3c6a6068d71f4dca887389f26 (diff)
downloadServo-84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0.tar.gz
Servo-84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0.tar.bz2
Servo-84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0.zip
Cleanup
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)