This commit is contained in:
Batuhan Berk Başoğlu 2020-11-05 12:14:27 -05:00
parent 56dcfabb30
commit d07c1a4cf6
3 changed files with 1 additions and 0 deletions

View file

@ -123,6 +123,7 @@ def download_thief_photo(user_photo):
def delete_user_photo(user_photo):
storage.delete('Photos_of_Users/' + user_photo)
# Deletes photo of the specified thief.
def delete_thief_photo(user_photo):
storage.delete('Photos_of_Thieves/' + user_photo)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB