Browse Source

Fix check for default app to succeed even if proxy (#3482)

Conrad Kramer 8 years ago
parent
commit
ca6b4b5383
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/fixups/django.py

+ 1 - 1
celery/fixups/django.py

@@ -46,7 +46,7 @@ class DjangoFixup(object):
 
     def __init__(self, app):
         self.app = app
-        if default_app is None:
+        if not default_app:
             self.app.set_default()
         self._worker_fixup = None