Skip to content

Commit

Permalink
improved logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Mole1424 committed Jun 12, 2024
1 parent 552af4d commit aeaf7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def add_photo(
photo.stream.seek(0)
photo.save(file_path)

info(f"{request.remote_addr} uploaded photo {file_name}")
info(f"{request.remote_addr} uploaded photo {file_name} to {file_path}")
return f"""
<h1>Photo uploaded successfully to {file_path}</h1>
<h1><a href='/'>Home</a></h1>
Expand Down

0 comments on commit aeaf7a3

Please sign in to comment.