Browse Source

Fixed loader bug in celerybeat standalone.

Maxim Bodyansky 15 years ago
parent
commit
7dd57018fb
1 changed files with 1 additions and 1 deletions
  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