Fix incorrect schema issue
This commit is contained in:
1 parent
ebf7574bde
commit
e35cf0efa5
4 files changed
+4
-8
No files matched your search
@@ -14,8 +14,8 @@ logging.basicConfig(format="%(asctime)s %(message)s",
|
||||
|
||||
|
||||
class SeafileClient:
|
||||
def __init__(self, host: str, port: int, user: str, passwd: str):
|
||||
self.url = f"https://{host}:{port}"
|
||||
def __init__(self, host: str, user: str, passwd: str):
|
||||
self.url = requests.get(f"http://{host}").url
|
||||
self.user = user
|
||||
self.password = passwd
|
||||
self.__token = None
|
||||
|
||||
Reference in new issue
Block a user