From e7df3a551d50caefe1b2a2506b1f259c22ea8ae9 Mon Sep 17 00:00:00 2001 From: qingxu fu <505030475@qq.com> Date: Thu, 25 May 2023 13:49:51 +0800 Subject: [PATCH] up --- crazy_functions/批量Markdown翻译.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crazy_functions/批量Markdown翻译.py b/crazy_functions/批量Markdown翻译.py index c1baade..4f766e4 100644 --- a/crazy_functions/批量Markdown翻译.py +++ b/crazy_functions/批量Markdown翻译.py @@ -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