Pārlūkot izejas kodu

Add --no-headers option

Florent Gallaire 7 gadi atpakaļ
vecāks
revīzija
ebfe045c3e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      txt2tags_reader/txt2tags_reader.py

+ 1 - 1
txt2tags_reader/txt2tags_reader.py

@@ -21,7 +21,7 @@ class Txt2tagsReader(BaseReader):
                 content = "\n".join(text[i:])
                 break
 
-        t2t_cmd = [r"txt2tags", r"--encoding=utf-8", r"--target=html", r"--infile=-", r"--outfile=-"]
+        t2t_cmd = [r"txt2tags", r"--encoding=utf-8", r"--target=html", r"--infile=-", r"--outfile=-", r"--no-headers"]
 
         proc = subprocess.Popen(t2t_cmd,
                                 stdin = subprocess.PIPE,