aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mediagoblin/tools/theme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tools/theme.py b/mediagoblin/tools/theme.py
index 4c7a7c0e..97b041a6 100644
--- a/mediagoblin/tools/theme.py
+++ b/mediagoblin/tools/theme.py
@@ -32,7 +32,7 @@ def themedata_for_theme_dir(name, theme_dir):
Given a theme directory, extract important theme information.
"""
# open config
- config = ConfigObj(os.path.join(theme_dir, 'theme.ini')).get('theme')
+ config = ConfigObj(os.path.join(theme_dir, 'theme.ini')).get('theme', {})
templates_dir = os.path.join(theme_dir, 'templates')
if not os.path.exists(templates_dir):