Instanciate the RPC at initialization

This commit is contained in:
Florian Anceau
2024-06-02 13:41:01 +00:00
parent e6bbd483cc
commit 1928ec8190
3 changed files with 16 additions and 5 deletions

View File

@@ -145,6 +145,8 @@ class Client:
logger.debug("Waiting for the Seafile client socket to be created.")
time.sleep(1)
self.rpc = seafile.RpcClient(str(self.socket))
def configure(self):
command = self.binary + ["config"]
if self.skip_ssl_cert: