[GH-ISSUE #1159] changing %s to f-string #683

Closed
opened 2026-02-28 00:00:49 +03:00 by kerem · 0 comments
Owner

Originally created by @haviv1idan on GitHub (Oct 5, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1159

Just a small fix of Python 2.x that uses %s in strings instead of f-strings, which is better for Python 3.x.

for example:

logger.error("Can't find artist: %s", artist)

should be with python3.x

logger.error(f"Can't find artist: {artist}")
Originally created by @haviv1idan on GitHub (Oct 5, 2024). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1159 Just a small fix of Python 2.x that uses %s in strings instead of f-strings, which is better for Python 3.x. for example: ```python logger.error("Can't find artist: %s", artist) ``` should be with python3.x ```python logger.error(f"Can't find artist: {artist}") ```
kerem 2026-02-28 00:00:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#683
No description provided.