From 57951e2524da4f468e31a68df73d7be58d4725c4 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 17 Nov 2019 12:59:32 -0500 Subject: [PATCH] allow device names to be quoted --- comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comment.py b/comment.py index 4398e73..b0d1966 100755 --- a/comment.py +++ b/comment.py @@ -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]