Mercurial > kallithea
diff kallithea/lib/paster_commands/celeryd.py @ 6801:970ee88be388
celery: let celerypylons.app be the actual app, not a factory
Change extracted by Mads Kiilerich.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Sun, 11 Jun 2017 16:13:09 +0200 |
parents | df5a67678b96 |
children | 29b8e961436f |
line wrap: on
line diff
--- a/kallithea/lib/paster_commands/celeryd.py Sat Aug 12 17:55:58 2017 +0200 +++ b/kallithea/lib/paster_commands/celeryd.py Sun Jun 11 16:13:09 2017 +0200 @@ -21,7 +21,7 @@ 'file before running celeryd') from kallithea.lib import celerypylons - cmd = celerypylons.worker.worker(celerypylons.app.app_or_default()) + cmd = celerypylons.worker.worker(celerypylons.app) celery_args = args.celery_args if '--' in celery_args: