kopia lustrzana https://github.com/DL7AD/pecanpico10
Removed debug messages
rodzic
5c461e9968
commit
a820d6354d
|
@ -148,12 +148,9 @@ if args.device == 'I': # Source APRS-IS
|
|||
# Read data
|
||||
try:
|
||||
buf = tn.read_until(b"\n").decode('charmap')
|
||||
print(">> " + buf)
|
||||
except EOFError: # Server has connection closed
|
||||
print("EOF ERROR")
|
||||
wdg = 0 # Tell watchdog to reconnect
|
||||
except UnicodeDecodeError:
|
||||
print("UNICODE DECODE ERROR")
|
||||
pass
|
||||
|
||||
# Watchdog reconnection
|
||||
|
|
Ładowanie…
Reference in New Issue