From 4f2fd95660bb97e52521ecdd59a1f4c29469f7af Mon Sep 17 00:00:00 2001 From: Nikita Sklyarov Date: Thu, 25 May 2023 11:36:36 +0300 Subject: [PATCH] use formatted string Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com> --- spotify_to_ytmusic/controllers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotify_to_ytmusic/controllers.py b/spotify_to_ytmusic/controllers.py index 147b320..84d836a 100644 --- a/spotify_to_ytmusic/controllers.py +++ b/spotify_to_ytmusic/controllers.py @@ -47,7 +47,7 @@ def liked(args): if len(tracks) == 0: exit("Could not find any liked tracks for the user.") - print(str(len(tracks)) + " tracks found. Creating playlist...") + print(f"{len(tracks)} tracks found. Creating playlist...") try: videos_ids = ytmusic.search_songs(tracks) playlist_id = ytmusic.create_playlist(