mirror of https://github.com/craigerl/aprsd.git
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