mgoblin_section.get, not app_config.get (doh)
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 8 May 2011 12:07:08 +0000 (07:07 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 8 May 2011 12:07:08 +0000 (07:07 -0500)
My name's Chris Webber and I ignore pyflakes warnings.

mediagoblin/celery_setup/from_celery.py

index 4ad2c1d1b7f846293beb2567f926b2a80e642db5..0ddfcc76d5359c78f4a7f663bb49b4be800e4f2e 100644 (file)
@@ -82,7 +82,7 @@ def setup_self(setup_globals_func=setup_globals):
         db_connection=connection,
         database=db,
         public_store=public_store,
-        email_debug_mode=app_config.get('email_debug_mode'),
+        email_debug_mode=mgoblin_section.get('email_debug_mode'),
         email_sender_address=mgoblin_section.get(
             'email_sender_address', 
             'notice@mediagoblin.example.org'),