mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-22 05:27:25 +00:00
fix handling new flag
This commit is contained in:
parent
b87481e803
commit
3fa8bd4651
@ -264,10 +264,11 @@ def register_settings(app):
|
|||||||
'USER_EMAIL_SENDER_EMAIL',
|
'USER_EMAIL_SENDER_EMAIL',
|
||||||
app.config['USER_EMAIL_SENDER_EMAIL']
|
app.config['USER_EMAIL_SENDER_EMAIL']
|
||||||
)
|
)
|
||||||
app.config['ENABLE_CHAR_XML_UPLOAD'] = os.getenv(
|
if "ENABLE_CHAR_XML_UPLOAD" in app.config:
|
||||||
'ENABLE_CHAR_XML_UPLOAD',
|
app.config['ENABLE_CHAR_XML_UPLOAD'] = os.getenv(
|
||||||
app.config['ENABLE_CHAR_XML_UPLOAD']
|
'ENABLE_CHAR_XML_UPLOAD',
|
||||||
)
|
app.config['ENABLE_CHAR_XML_UPLOAD']
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def gm_level(gm_level):
|
def gm_level(gm_level):
|
||||||
|
Loading…
Reference in New Issue
Block a user