avoid AttributeError on 404s in /static/*

This commit is contained in:
rimu 2024-04-09 19:04:46 +12:00
parent c0371dddc6
commit 4e3e409681

View file

@ -796,7 +796,7 @@ def current_theme():
else: else:
return g.site.default_theme if g.site.default_theme is not None else '' return g.site.default_theme if g.site.default_theme is not None else ''
else: else:
return g.site.default_theme if g.site.default_theme is not None else '' return ''
def theme_list(): def theme_list():