From 091f40530a129cc09ca26b178bfe0289a5d095f9 Mon Sep 17 00:00:00 2001 From: Gerardo Zinno Date: Sun, 11 Oct 2026 18:30:18 +0200 Subject: [PATCH] Use f-string instead of concat --- make_playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_playlist.py b/make_playlist.py index b972edb..6bf6c5b 100755 --- a/make_playlist.py +++ b/make_playlist.py @@ -154,7 +154,7 @@ def main(): # pylint: disable=too-many-locals if filename == "README.md" or not filename.endswith(".md"): continue markup_path = lists_dir / filename - country_path = dir_playlists / ("playlist_" + filename[:-3] + ".m3u8") + country_path = dir_playlists / f"playlist_{filename[:-3]}.m3u8" country_key = filename[:-3] group = country_key.replace("_", " ").title() country_code = COUNTRY_CODES.get(country_key, "")