diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-25 23:14:46 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-25 23:14:46 +0300 |
commit | 84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0 (patch) | |
tree | f9106ff7712df687ef7bacc72d0014c1b34d6b25 /servo/models | |
parent | 09731610e0c037a3c6a6068d71f4dca887389f26 (diff) | |
download | Servo-84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0.tar.gz Servo-84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0.tar.bz2 Servo-84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0.zip |
Cleanup
Diffstat (limited to 'servo/models')
-rw-r--r-- | servo/models/common.py | 2 |
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) |