Explorar el Código

fix: avoid duplicate report review chapter number

zhouyang.xie hace 1 semana
padre
commit
155ded8494
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/report/reviewer.py

+ 1 - 1
app/report/reviewer.py

@@ -107,7 +107,7 @@ def append_review(
     """把审核意见追加为报告第 8 章,返回最终使用的文本。"""
     doc = Document(path)
     doc.add_page_break()
-    doc.add_heading("8 报告审核", level=1)
+    doc.add_heading("报告审核", level=1)
     if review_text:
         for block in review_text.split("\n"):
             block = block.strip()