支持两种学生名单

This commit is contained in:
cantyonion committed 2025-06-04 22:16:46 +08:00
1 parent a2250d25cf
commit 4517a06eff
3 files changed
+27 -14

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ class DocPaper:
for run in para.runs:
for key, val in data_list.items():
if key in run.text:
run.text = run.text.replace(key, val)
run.text = run.text.replace(key, str(val))
break
def save(self, path: str = './'):