Move md files into a directory

This commit is contained in:
Free TV
2022-09-02 12:19:54 +01:00
parent 2e465af931
commit 9651dadbc7
44 changed files with 3 additions and 2 deletions
+1
View File
@@ -152,6 +152,7 @@ class Channel():
if __name__ == "__main__":
with open("playlist.m3u8", "w", encoding='utf-8') as playlist:
print(f'#EXTM3U x-tvg-url="{",".join(EPG_LIST)}"', file=playlist)
os.chdir("lists")
for filename in sorted(os.listdir(".")):
if filename == "README.md" or not filename.endswith(".md"):
continue