diff --git a/core/tasks.py b/core/tasks.py index 7a28416c..6bf3c5bf 100644 --- a/core/tasks.py +++ b/core/tasks.py @@ -156,7 +156,7 @@ def process_promotions() -> tuple[bool, str]: element is a message describing the operation's outcome. :rtype: tuple[bool, str] """ - if not config.ABSTRACT_API_KEY: + if not config.ABSTRACT_API_KEY or config.ABSTRACT_API_KEY == "example key": return False, "Abstract features disabled." Promotion.objects.all().update(is_active=False)