FIX:(#1785) Additional fix for config.ini's that are manually entered that have a % value, and/or initial startup sequences with said character

This commit is contained in:
evilhero 2017-11-25 13:16:09 -05:00
parent ab0d195196
commit 40c945376a
1 changed files with 2 additions and 0 deletions

View File

@ -520,6 +520,8 @@ class Config(object):
elif definition_type == bool:
myval = {'status': True, 'value': config.getboolean(section, inikey)}
except Exception:
if definition_type == str:
myval = {'status': True, 'value': config.get(section, inikey, raw=True)}
myval = {'status': False, 'value': None}
return myval