Fix theme setting persistence

This commit is contained in:
Phillip Kühne 2023-03-30 17:39:13 +02:00
parent 429ffddced
commit 16cb9e7d5a
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA

View File

@ -88,6 +88,7 @@ def setup_config(app: Flask):
app.config['ENTRY_QUOTA'] = config['entryquota']
app.config['MAX_QUEUE'] = config['maxqueue']
app.config['ENTRIES_ALLOWED'] = bool(config['entries_allowed'])
app.config['THEME'] = config['theme']
# set queue admittance
def set_accept_entries(app: Flask, allowed: bool):