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