correct variable names in error handler
This commit is contained in:
parent
232cd9814b
commit
3d7b0e13b5
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue