replacement of configuration variable acquisition
This commit is contained in:
@@ -15,18 +15,18 @@ bcrypt = Bcrypt(app)
|
||||
#### Variables ####################################################################################
|
||||
|
||||
bcrypt = Bcrypt(app)
|
||||
DATAS_USER = app.config['DOSSIER_APP']
|
||||
DATAS_USER = app.config.get('DOSSIER_APP')
|
||||
|
||||
extensionimg = app.config['EXT_IMG']
|
||||
extensionimg = app.config.get('EXT_IMG')
|
||||
|
||||
DATABASE = app.config['DATABASE']
|
||||
BASE_URL = app.config['BASE_URL']
|
||||
SETUID = app.config['SETUID']
|
||||
MAIL_SERVER = app.config['MAIL_SERVER']
|
||||
XMPP_SERVER = app.config['XMPP_SERVER']
|
||||
BACKUP_TIME = app.config['BACKUP_TIME']
|
||||
SERVER_TITLE = app.config['TITLE_SERVER']
|
||||
SERVER_DESC = app.config['DESC_SERVER']
|
||||
DATABASE = app.config.get('DATABASE')
|
||||
BASE_URL = app.config.get('BASE_URL')
|
||||
SETUID = app.config.get('SETUID')
|
||||
MAIL_SERVER = app.config.get('MAIL_SERVER')
|
||||
XMPP_SERVER = app.config.get('XMPP_SERVER')
|
||||
BACKUP_TIME = app.config.get('BACKUP_TIME')
|
||||
SERVER_TITLE = app.config.get('TITLE_SERVER')
|
||||
SERVER_DESC = app.config.get('DESC_SERVER')
|
||||
##################################################################################################
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user