浏览代码

Merge pull request #959 from fgallaire/master

txt2tags_reader: Add --no-headers option
Justin Mayer 7 年之前
父节点
当前提交
b7d91ea876
共有 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,