Merge "Fix missing 'THEME' key"

This commit is contained in:
Jenkins 2016-08-04 13:22:31 +00:00 committed by Gerrit Code Review
commit 3864fd11a1

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