diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-04-08 10:43:23 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-04-08 10:43:23 -0500 |
commit | d9a31a39801fe0a4476b33ab60f254eb04b50a3f (patch) | |
tree | 21580428d141efe5b02f654e56c79d4a89482ec0 | |
parent | 8a0d35e72aa50ca9add0f1e47e40ef7c8c5de039 (diff) | |
download | mediagoblin-d9a31a39801fe0a4476b33ab60f254eb04b50a3f.tar.lz mediagoblin-d9a31a39801fe0a4476b33ab60f254eb04b50a3f.tar.xz mediagoblin-d9a31a39801fe0a4476b33ab60f254eb04b50a3f.zip |
CELERY_ALWAYS_EAGER environment variable only recognized if 'true' now
-rw-r--r-- | mediagoblin/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/app.py b/mediagoblin/app.py index 99c7de76..ef166047 100644 --- a/mediagoblin/app.py +++ b/mediagoblin/app.py @@ -84,7 +84,7 @@ class MediaGoblinApp(object): # Setup celery, if appropriate if setup_celery and not app_config.get('celery_setup_elsewhere'): - if os.environ.get('CELERY_ALWAYS_EAGER'): + if os.environ.get('CELERY_ALWAYS_EAGER', 'false').lower() == 'true': setup_celery_from_config( app_config, global_config, force_celery_always_eager=True) |