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:
|
||||
try:
|
||||
return client.get_object(BUCKET_NAME, str(num)).data
|
||||
except:
|
||||
except Exception as e:
|
||||
print(e.with_traceback())
|
||||
return b''
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user