mirror of
https://github.com/evilhero/mylar
synced 2024-12-23 08:12:41 +00:00
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:
parent
ab0d195196
commit
40c945376a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue