mirror of
https://github.com/Free-TV/IPTV.git
synced 2026-09-29 21:25:44 +02:00
Fix path for invidual playlists
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ def main():
|
|||||||
if filename == "README.md" or not filename.endswith(".md"):
|
if filename == "README.md" or not filename.endswith(".md"):
|
||||||
continue
|
continue
|
||||||
with open(filename, encoding='utf-8') as markup_file:
|
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 = open(file_country, "w", encoding='utf-8')
|
||||||
playlist_country.write(head_playlist)
|
playlist_country.write(head_playlist)
|
||||||
group = filename.replace(".md", "").title()
|
group = filename.replace(".md", "").title()
|
||||||
|
|||||||
Reference in New Issue
Block a user