make sure UseWhitelist is a boolean, default to True
This commit is contained in:
parent
2ef70801c7
commit
f4f847e577
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ ADMINS = json.loads(config['application']['DefaultAdmins'])
|
|||
# SQLite Database location
|
||||
DB_PATH = config['application'].get('DatabaseLocation', './gacha_game.db')
|
||||
# Whether to enable the instance whitelist
|
||||
USE_WHITELIST = config['application']['UseWhitelist']
|
||||
USE_WHITELIST = config['application'].getboolean('UseWhitelist', True)
|
||||
|
||||
NOTIFICATION_POLL_INTERVAL = int(config['notification']['PollInterval'])
|
||||
NOTIFICATION_BATCH_SIZE = int(config['notification']['BatchSize'])
|
||||
|
|
Loading…
Add table
Reference in a new issue