Fix stack trace
This commit is contained in:
parent
2e5c8c82e9
commit
01dbdf9d1e
@ -595,6 +595,7 @@ def ident():
|
|||||||
continue
|
continue
|
||||||
_callsign = False
|
_callsign = False
|
||||||
for _peerid in CONFIG['SYSTEMS'][system]['PEERS']:
|
for _peerid in CONFIG['SYSTEMS'][system]['PEERS']:
|
||||||
|
if CONFIG['SYSTEMS'][system]['PEERS'][_peerid]['CALLSIGN']:
|
||||||
_callsign = CONFIG['SYSTEMS'][system]['PEERS'][_peerid]['CALLSIGN'].decode()
|
_callsign = CONFIG['SYSTEMS'][system]['PEERS'][_peerid]['CALLSIGN'].decode()
|
||||||
if not _callsign:
|
if not _callsign:
|
||||||
logger.debug("(IDENT) %s System has no peers or no recorded callsign (%s), skipping",system,_callsign)
|
logger.debug("(IDENT) %s System has no peers or no recorded callsign (%s), skipping",system,_callsign)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user