Use f-string instead of concat
This commit is contained in:
1 parent
e4569f68bc
commit
091f40530a
1 file changed
+1
-1
+1
-1
@@ -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, "")
|
||||
|
||||
Reference in new issue
Block a user