Skip to content

Commit

Permalink
add % interpolation on log string (linting)
Browse files Browse the repository at this point in the history
  • Loading branch information
biancarosa committed Jul 20, 2024
1 parent 35df29a commit c568351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/songs/latest_songs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def route(user):
try:
track = lastfm_response['recenttracks']['track'][0]
except KeyError:
log.info(f"User likely exist {user}")
log.info("User likely exist %s", user)
return jsonify({
'message': 'USER_LIKELY_DOESNT_EXIST',
}), 404
Expand Down

0 comments on commit c568351

Please sign in to comment.