1
0
Fork 0

allow device names to be quoted

This commit is contained in:
Kevin Matz 2019-11-17 12:59:32 -05:00
parent d69583c60b
commit 57951e2524
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ config = configparser.ConfigParser(allow_no_value=True)
config.read('server.cfg')
# set up each hog device
for name in config.get('network', 'hogs').split(','):
for name in config.get('network', 'hogs').split(',').strip('\"'):
try:
# move to config section
server = config[name]