##// END OF EJS Templates
celery: fixed error when celery was disabled
super-admin -
r4817:753f56fc default
parent child Browse files
Show More
@@ -49,8 +49,8 b' def run_task(task, *args, **kwargs):'
49 49
50 50 exec_mode = 'sync'
51 51
52 t = None
52 53 if rhodecode.CELERY_ENABLED:
53 t = None
54 54 try:
55 55 t = task.apply_async(args=args, kwargs=kwargs)
56 56 log.debug('executing task %s:%s in async mode', t.task_id, task)
General Comments 0
You need to be logged in to leave comments. Login now