From d477d2cc62bad161ced45686fc5bf5e6ae20601b Mon Sep 17 00:00:00 2001 From: LaQuay Date: Fri, 12 Apr 2019 23:11:47 +0200 Subject: [PATCH] fix tvscript --- script/tv_script.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/tv_script.py b/script/tv_script.py index 62e36736..bec8e026 100644 --- a/script/tv_script.py +++ b/script/tv_script.py @@ -174,7 +174,8 @@ print("JSON Updated") # Save data to M3U8 file text_file = open('./public/output/channels.m3u8', "w+") -text_file.write("#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\" + "\n") +text_file.write( + "#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\"\n") text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n") text_file.write(spain.to_m3u8()) text_file.write(international.to_m3u8()) @@ -184,7 +185,8 @@ print("M3U8 Updated") # Save data to M3U file text_file = open('./public/output/channels.m3u', "w+") -text_file.write("#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\" + "\n") +text_file.write( + "#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\"\n") text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n") text_file.write(spain.to_m3u8()) text_file.write(international.to_m3u8())