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:
parent
4b56e99689
commit
008b2ab09e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user