mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
avoid AttributeError on 404s in /static/*
This commit is contained in:
parent
c0371dddc6
commit
4e3e409681
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||||
|
|
Loading…
Add table
Reference in a new issue