from_celery.setup_self() didn't pay attention to default_conf_file kwarg, fixed.
This commit is contained in:
parent
355fd6770d
commit
a8acb5a387
@ -35,6 +35,7 @@ def setup_self(check_environ_for_conf=True, module_name=OUR_MODULENAME,
|
|||||||
Note that if celery_setup_elsewhere is set in your config file,
|
Note that if celery_setup_elsewhere is set in your config file,
|
||||||
this simply won't work.
|
this simply won't work.
|
||||||
"""
|
"""
|
||||||
|
if not default_conf_file:
|
||||||
if os.path.exists(os.path.abspath('mediagoblin_local.ini')):
|
if os.path.exists(os.path.abspath('mediagoblin_local.ini')):
|
||||||
default_conf_file = 'mediagoblin_local.ini'
|
default_conf_file = 'mediagoblin_local.ini'
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user