This commit is contained in:
Philip Cheung 2024-10-08 10:58:19 +08:00
parent 2a4fbf363e
commit fee442a51d
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ def delete_file(file_name, bucket_name, object_name=None):
except ClientError as e: except ClientError as e:
print(f"An error occurred: {e}") print(f"An error occurred: {e}")
return False return False
return True
async def save_picture(file, folder_name: str = "", file_name: str = None): async def save_picture(file, folder_name: str = "", file_name: str = None):
randon_uid = str(uuid4()) randon_uid = str(uuid4())