Florent Gallaire 6 роки тому
батько
коміт
ebfe045c3e
1 змінених файлів з 1 додано та 1 видалено
  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,