Fix missing 'THEME' key

Change-Id: If1a296c3c9bb1fd7de2effa107d898a482754ed8
Closes-bug: 1603307
This commit is contained in:
Rob Cresswell authored and David Lyle committed 2016-08-03 20:06:36 +00:00
1 parent c386d05631
commit 126860671c
1 file changed
+4 -1
+4 -1
View File
@@ -40,7 +40,10 @@ _local = threading.local()
# Get the themes from settings
def get_themes():
return getattr(settings, 'AVAILABLE_THEMES', [])
return getattr(settings, 'AVAILABLE_THEMES',
[(get_default_theme(),
get_default_theme(),
os.path.join(get_theme_dir(), get_default_theme()))])
# Get the themes dir from settings