This commit is contained in:
Administrator 2022-08-21 15:26:48 +03:00
parent 81388144aa
commit 35958939f4

View File

@ -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''