Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing %s to f-string #1159

Open
haviv1idan opened this issue Oct 5, 2024 · 0 comments
Open

changing %s to f-string #1159

haviv1idan opened this issue Oct 5, 2024 · 0 comments

Comments

@haviv1idan
Copy link

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}")
@dieser-niko dieser-niko linked a pull request Nov 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant