From 84c73ab2ad05bbe2b095a5b4a7737aa50c276ee0 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 25 Aug 2015 23:14:46 +0300 Subject: Cleanup --- servo/models/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servo/models/common.py') 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) -- cgit v1.2.3