mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-09 19:58:19 +00:00
fix config defaults
This commit is contained in:
parent
3b5b478815
commit
0fea032938
@ -269,27 +269,27 @@ 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:
|
if "ENABLE_CHAR_XML_UPLOAD" not in app.config:
|
||||||
app.config['ENABLE_CHAR_XML_UPLOAD'] = os.getenv(
|
app.config['ENABLE_CHAR_XML_UPLOAD'] = False
|
||||||
'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']
|
||||||
|
)
|
||||||
|
|
||||||
if "CLIENT_LOCATION" in app.config:
|
if "CLIENT_LOCATION" not in app.config:
|
||||||
app.config['CLIENT_LOCATION'] = os.getenv(
|
|
||||||
'CLIENT_LOCATION',
|
|
||||||
app.config['CLIENT_LOCATION']
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
app.config['CLIENT_LOCATION'] = 'app/luclient/'
|
app.config['CLIENT_LOCATION'] = 'app/luclient/'
|
||||||
|
app.config['CLIENT_LOCATION'] = os.getenv(
|
||||||
|
'CLIENT_LOCATION',
|
||||||
|
app.config['CLIENT_LOCATION']
|
||||||
|
)
|
||||||
|
|
||||||
if "CD_SQLITE_LOCATION" in app.config:
|
if "CD_SQLITE_LOCATION" not in app.config:
|
||||||
app.config['CD_SQLITE_LOCATION'] = os.getenv(
|
|
||||||
'CD_SQLITE_LOCATION',
|
|
||||||
app.config['CD_SQLITE_LOCATION']
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
app.config['CD_SQLITE_LOCATION'] = 'app/luclient/res/'
|
app.config['CD_SQLITE_LOCATION'] = 'app/luclient/res/'
|
||||||
|
app.config['CD_SQLITE_LOCATION'] = os.getenv(
|
||||||
|
'CD_SQLITE_LOCATION',
|
||||||
|
app.config['CD_SQLITE_LOCATION']
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def gm_level(gm_level):
|
def gm_level(gm_level):
|
||||||
|
Loading…
Reference in New Issue
Block a user