Fix stack trace

pypy v1.2.11
Simon 4 years ago
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…
Cancel
Save

Powered by TurnKey Linux.