This commit is contained in:
qingxu fu committed 2023-05-25 13:49:51 +08:00
1 parent 7947c968ad
commit e7df3a551d
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ class PaperFileGroup():
def write_result(self):
manifest = []
for path, res in zip(self.file_paths, self.file_result):
with open(path + f'{gen_time_str()}.trans.md', 'w', encoding='utf8') as f:
with open(path + f'.{gen_time_str()}.trans.md', 'w', encoding='utf8') as f:
manifest.append(path + '.trans.md')
f.write(res)
return manifest