From ce29ce89c40f5f3d25fd3cb0ba7539b933187864 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Fri, 5 Sep 2014 09:02:59 -0500 Subject: [PATCH] De-Registration Logs integer ID now --- dmrlink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmrlink.py b/dmrlink.py index 5fff5cb..969722d 100755 --- a/dmrlink.py +++ b/dmrlink.py @@ -390,10 +390,10 @@ def de_register_peer(_network, _peerid): # Iterate for the peer in our data if _peerid in NETWORK[_network]['PEERS'].keys(): del NETWORK[_network]['PEERS'][_peerid] - logger.info('(%s) Peer De-Registration Requested for: %s', _network, h(_peerid)) + logger.info('(%s) Peer De-Registration Requested for: %s', _network, int_id(_peerid)) return else: - logger.warning('(%s) Peer De-Registration Requested for: %s, but we don\'t have a listing for this peer', _network, h(_peerid)) + logger.warning('(%s) Peer De-Registration Requested for: %s, but we don\'t have a listing for this peer', _network, int_id(_peerid)) pass