Fixed a typo.

This commit is contained in:
Batuhan Berk Başoğlu 2020-10-07 18:44:58 -04:00 committed by GitHub
parent f2ee04a024
commit 59b8f15d96

View file

@ -95,7 +95,7 @@ class DBHelper:
userphoto_str = str(userphoto) userphoto_str = str(userphoto)
storage.child("Photos_of_Users/" + str(userphoto)).put("Photos_of_Users/" + str(userphoto)) storage.child("Photos_of_Users/" + str(userphoto)).put("Photos_of_Users/" + str(userphoto))
# Uploads the photo of user, input should be something like "example.png" # Uploads the photo of thief, input should be something like "example.png"
def uploadthiefphoto(userphoto): def uploadthiefphoto(userphoto):
userphoto_str = str(userphoto) userphoto_str = str(userphoto)
storage.child("Photos_of_Thieves/" + str(userphoto)).put("Photos_of_Thieves/" + str(userphoto)) storage.child("Photos_of_Thieves/" + str(userphoto)).put("Photos_of_Thieves/" + str(userphoto))