up
This commit is contained in:
parent
7947c968ad
commit
e7df3a551d
@ -42,7 +42,7 @@ class PaperFileGroup():
|
|||||||
def write_result(self):
|
def write_result(self):
|
||||||
manifest = []
|
manifest = []
|
||||||
for path, res in zip(self.file_paths, self.file_result):
|
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')
|
manifest.append(path + '.trans.md')
|
||||||
f.write(res)
|
f.write(res)
|
||||||
return manifest
|
return manifest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user