From 43290268ffd4c2317ddb5cc080e47adc7afc2de9 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 1 Sep 2016 17:37:27 +0200 Subject: [PATCH] Add callsign to deregistration message --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index ec518af..f8376dc 100755 --- a/hblink.py +++ b/hblink.py @@ -84,7 +84,7 @@ def handler(_signal, _frame): if CONFIG['SYSTEMS'][system]['MODE'] == 'MASTER': for client in CONFIG['SYSTEMS'][system]['CLIENTS']: this_system.send_client(client, 'MSTCL'+client) - logger.info('(%s) Sending De-Registration to Client: %s', system, CONFIG['SYSTEMS'][system]['CLIENTS'][client]['RADIO_ID']) + logger.info('(%s) Sending De-Registration to Client: %s (%s)', system, CONFIG['SYSTEMS'][system]['CLIENTS'][client]['CALLSIGN'], CONFIG['SYSTEMS'][system]['CLIENTS'][client]['RADIO_ID']) elif CONFIG['SYSTEMS'][system]['MODE'] == 'CLIENT': this_system.send_master('RPTCL'+CONFIG['SYSTEMS'][system]['RADIO_ID']) logger.info('(%s) De-Registering From the Master', system)