Use f-string instead of concat

This commit is contained in:
Gerardo Zinno
2026-10-11 18:30:18 +02:00
parent e4569f68bc
commit 091f40530a
+1 -1
View File
@@ -154,7 +154,7 @@ def main(): # pylint: disable=too-many-locals
if filename == "README.md" or not filename.endswith(".md"): if filename == "README.md" or not filename.endswith(".md"):
continue continue
markup_path = lists_dir / filename 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] country_key = filename[:-3]
group = country_key.replace("_", " ").title() group = country_key.replace("_", " ").title()
country_code = COUNTRY_CODES.get(country_key, "") country_code = COUNTRY_CODES.get(country_key, "")