From 3d7b0e13b5ea8c416509a478deb9e9433b91cc31 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 17 Nov 2019 13:26:31 -0500 Subject: [PATCH] correct variable names in error handler --- comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comment.py b/comment.py index 6ad6f5e..1841d1b 100755 --- a/comment.py +++ b/comment.py @@ -62,7 +62,7 @@ for name in config.get('network', 'hogs').split(','): logger.info("Adding Hog device at net# " + str(net)) servers[net] = udp_client.SimpleUDPClient(ip, port) except KeyError as e: - print('Error configuring button', b, e) + print('Error configuring net#', net, e) continue