소스 검색

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

Conrad Kramer 8 년 전
부모
커밋
ca6b4b5383
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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