From 5da3375e2e8f6b0ba21ce4f40f7150e0ab6bb07e Mon Sep 17 00:00:00 2001
From: LaQuay <marcvilagomez@gmail.com>
Date: Fri, 12 Apr 2019 23:12:50 +0200
Subject: [PATCH] fix tvscript

---
 script/tv_script.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/script/tv_script.py b/script/tv_script.py
index bec8e026..b9672fc3 100644
--- a/script/tv_script.py
+++ b/script/tv_script.py
@@ -174,9 +174,9 @@ print("JSON Updated")
 
 # Save data to M3U8 file	
 text_file = open('./public/output/channels.m3u8', "w+")
+text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\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())
 text_file.write(andorra.to_m3u8())
@@ -185,9 +185,9 @@ print("M3U8 Updated")
 
 # Save data to M3U file
 text_file = open('./public/output/channels.m3u', "w+")
+text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\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())
 text_file.write(andorra.to_m3u8())