1
0
Fork 0

tolerate quotes and whitespace

This commit is contained in:
Kevin Matz 2019-11-17 13:26:00 -05:00
parent a33da15c9f
commit 232cd9814b
2 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,6 @@ config.read('server.cfg')
for name in config.get('network', 'hogs').split(','):
try:
# move to config section
server = config[name]
server = config[name.strip().strip('\"')]
# read settings
ip = server.get("ip", "10.0.0.100")