minio
This commit is contained in:
parent
81388144aa
commit
35958939f4
@ -34,7 +34,8 @@ def write_bytes(data: bytes):
|
|||||||
def get_bytes(num: int) -> bytes:
|
def get_bytes(num: int) -> bytes:
|
||||||
try:
|
try:
|
||||||
return client.get_object(BUCKET_NAME, str(num)).data
|
return client.get_object(BUCKET_NAME, str(num)).data
|
||||||
except:
|
except Exception as e:
|
||||||
|
print(e.with_traceback())
|
||||||
return b''
|
return b''
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user