This commit is contained in:
2023-11-21 00:58:33 +03:00
parent 098eba64a6
commit ca519b4ce5
11 changed files with 95 additions and 21 deletions

View File

@@ -26,7 +26,7 @@ class ApplicationApi:
def upload(self, version: str, file_path: str):
data = {'version': version}
files = {'file': file_path}
files = {'file': open(file_path, 'rb')}
return self.method('POST', 'upload', data=data, files=files)