Преглед изворни кода

Fixed loader bug in celerybeat standalone.

Maxim Bodyansky пре 15 година
родитељ
комит
7dd57018fb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      celery/bin/celerybeat.py

+ 1 - 1
celery/bin/celerybeat.py

@@ -68,7 +68,7 @@ def run_clockservice(loglevel=conf.CELERYBEAT_LOG_LEVEL,
     # Run the worker init handler.
     # (Usually imports task modules and such.)
     from celery.loaders import current_loader
-    current_loader.on_worker_init()
+    current_loader().on_worker_init()
 
 
     # Dump configuration to screen so we have some basic information