From f2ecce45c2b8c1bb496377a5097eacac8daf567f Mon Sep 17 00:00:00 2001 From: HeisenBerg? Date: Sat, 27 Jul 2024 17:17:54 +0800 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 2be2e66c..0186b4a0 100644 --- a/main.py +++ b/main.py @@ -282,8 +282,8 @@ def overload_tasks(self): with open(os.path.join(SERVER_PATH_DOCS, f'{context["topic"]}', f'{context["subtopic"]}.md'), 'w') as f: f.write(md_obj["content"]) - template_ = ot.generate_markdown_template(content="".join(list(file_obj.values()))) - ot.storage(template_, obj_="database") + template_ = ot.generate_markdown_template(content="".join(list(file_obj.values()))) + ot.storage(template_, obj_="database") return template_ def go(self, power: int):