log correct data type
This commit is contained in:
parent
c44effaed9
commit
a34327a874
|
@ -48,7 +48,7 @@ def load_servers(file: str = 'server.cfg') -> Dict[int, object]:
|
|||
port = server.getint("port", fallback=7001)
|
||||
net = server.getint("net", fallback=1)
|
||||
# osc clients are added to the dictionary with the net # as the key
|
||||
log.info("Adding Hog device at net# %d", str(net))
|
||||
log.info("Adding Hog device at net# %s", net)
|
||||
servers[net] = udp_client.SimpleUDPClient(addr, port)
|
||||
except KeyError as exception:
|
||||
log.error('Error configuring net#%s: %s', net, exception)
|
||||
|
|
Loading…
Reference in New Issue