mirror of
https://github.com/craigerl/aprsd.git
synced 2024-12-20 00:26:04 -05:00
Reconnect on socket timeout
This commit is contained in:
parent
735cb3a557
commit
b553987350
@ -134,6 +134,7 @@ def setup_connection():
|
||||
msg = ("user {} pass {} vers aprsd {}\n".format(user, password, aprsd.__version__))
|
||||
sock.send(msg.encode())
|
||||
|
||||
|
||||
def signal_handler(signal, frame):
|
||||
LOG.info("Ctrl+C, exiting.")
|
||||
# sys.exit(0) # thread ignores this
|
||||
|
Loading…
Reference in New Issue
Block a user