mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 02:51:48 +02:00
Fix theme setting persistence
This commit is contained in:
parent
429ffddced
commit
16cb9e7d5a
@ -88,6 +88,7 @@ def setup_config(app: Flask):
|
|||||||
app.config['ENTRY_QUOTA'] = config['entryquota']
|
app.config['ENTRY_QUOTA'] = config['entryquota']
|
||||||
app.config['MAX_QUEUE'] = config['maxqueue']
|
app.config['MAX_QUEUE'] = config['maxqueue']
|
||||||
app.config['ENTRIES_ALLOWED'] = bool(config['entries_allowed'])
|
app.config['ENTRIES_ALLOWED'] = bool(config['entries_allowed'])
|
||||||
|
app.config['THEME'] = config['theme']
|
||||||
|
|
||||||
# set queue admittance
|
# set queue admittance
|
||||||
def set_accept_entries(app: Flask, allowed: bool):
|
def set_accept_entries(app: Flask, allowed: bool):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user