1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-12-22 01:20:59 -05:00

recreate client during reset()

This patch re-creates the client object during a client.reset() call.
This commit is contained in:
Hemna 2023-09-01 15:13:50 -04:00
parent 4b56e99689
commit 008b2ab09e

View File

@ -67,6 +67,9 @@ class Client(metaclass=trace.TraceWrapperMetaclass):
else:
LOG.warning("Client not initialized, nothing to reset.")
# Recreate the client
LOG.info(f"Creating new client {self.client}")
@abc.abstractmethod
def setup_connection(self):
pass