Ver Fonte

Fixed typo conf.CELERY_RESULT_BACKEND -> conf.RESULT_BACKEND

Ask Solem há 15 anos atrás
pai
commit
db02037c01
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      celery/backends/__init__.py

+ 1 - 1
celery/backends/__init__.py

@@ -43,7 +43,7 @@ def get_backend_cls(backend):
     Get the backend class specified in :setting:`CELERY_RESULT_BACKEND`.
 
 """
-get_default_backend_cls = curry(get_backend_cls, conf.CELERY_RESULT_BACKEND)
+get_default_backend_cls = curry(get_backend_cls, conf.RESULT_BACKEND)
 
 
 """