formatting update

This commit is contained in:
Cort Buffington 2015-06-30 20:54:15 -05:00
parent 113ebc8bf3
commit 9ac48cac3f
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def print_stats():
for peer in NETWORK[ipsc]['PEERS']:
stat = NETWORK[ipsc]['PEERS'][peer]['STATUS']
if peer == NETWORK[ipsc]['LOCAL']['RADIO_ID']:
print(' RADIO ID: {} Is this instance'.format(str(int_id(peer)).rjust(8,'0')))
print(' RADIO ID: {} Is this DMRLink IPSC instance'.format(str(int_id(peer)).rjust(8,'0')))
else:
print(' RADIO ID: {} CONNECTED: {}, KEEP ALIVES: SENT {} RECEIVED {} MISSED {}'.format(str(int_id(peer)).rjust(8,'0'),stat['CONNECTED'],stat['KEEP_ALIVES_SENT'],stat['KEEP_ALIVES_RECEIVED'],stat['KEEP_ALIVES_MISSED']))
print()