Skip to content

Commit

Permalink
🎨 Better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sumukshashidhar committed Sep 19, 2020
1 parent 4d8739f commit 15ef3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def accept_incoming_image():
file_uuid = shortuuid.uuid()
filename = storage_directory + file_uuid + ".png"
f.save(filename)
ilog.log(response[1]['username'], file_uuid)
ilog.log(response[1]['username'], file_uuid+".png")
return(flask.jsonify({
"status":200,
"message":f"Accepted the Image from user {response[1]['username']}"
Expand Down

0 comments on commit 15ef3ea

Please sign in to comment.