From 22bf6c54edfccb5c32131a6404a42606fd75eb12 Mon Sep 17 00:00:00 2001 From: KAMI Date: Tue, 14 Mar 2023 06:16:15 +0100 Subject: [PATCH] Fix path --- make_playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_playlist.py b/make_playlist.py index 1c2928a..dcd1620 100755 --- a/make_playlist.py +++ b/make_playlist.py @@ -40,7 +40,7 @@ def main(): if filename == "README.md" or not filename.endswith(".md"): continue with open(filename, encoding='utf-8') as markup_file: - file_country = os.path.join(dir_playlists, "\playlist_" + filename[:-3:] + ".m3u8") + file_country = os.path.join(dir_playlists, "playlist_" + filename[:-3:] + ".m3u8") playlist_country = open(file_country, "w", encoding='utf-8') playlist_country.write(head_playlist) group = filename.replace(".md", "").title()