Fix incorrect schema issue

This commit is contained in:
snegov committed 2020-08-25 21:17:34 +03:00
1 parent ebf7574bde
commit e35cf0efa5
4 files changed
+4 -8

No files matched your search

+2 -2
View File
@@ -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