allow device names to be quoted
This commit is contained in:
parent
d69583c60b
commit
57951e2524
|
@ -50,7 +50,7 @@ config = configparser.ConfigParser(allow_no_value=True)
|
||||||
config.read('server.cfg')
|
config.read('server.cfg')
|
||||||
|
|
||||||
# set up each hog device
|
# set up each hog device
|
||||||
for name in config.get('network', 'hogs').split(','):
|
for name in config.get('network', 'hogs').split(',').strip('\"'):
|
||||||
try:
|
try:
|
||||||
# move to config section
|
# move to config section
|
||||||
server = config[name]
|
server = config[name]
|
||||||
|
|
Loading…
Reference in New Issue