mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 14:56:30 +00:00
clean postbuild script
clean warnings
This commit is contained in:
@@ -79,9 +79,9 @@ cdef class ApiClient:
|
||||
try:
|
||||
r = requests.post(url, headers=headers, files=files, allow_redirects=True)
|
||||
r.raise_for_status()
|
||||
print(f"Uploaded {filename} to {constants.API_URL}/{folder} successfully: {r.status_code}.")
|
||||
constants.log(f"Uploaded {filename} to {constants.API_URL}/{folder} successfully: {r.status_code}.")
|
||||
except Exception as e:
|
||||
print(f"Upload fail: {e}")
|
||||
constants.log(f"Upload fail: {e}")
|
||||
|
||||
cdef load_bytes(self, str filename, str folder):
|
||||
hardware_service = HardwareService()
|
||||
|
||||
Reference in New Issue
Block a user