进行文件的逻辑拆分

初步对ui.py以及novel_generator.py进行了拆分
This commit is contained in:
YILING0013
2025-02-16 22:32:32 +08:00
parent 0be413236b
commit ba10e6dd66
24 changed files with 4410 additions and 1823 deletions
+7
View File
@@ -0,0 +1,7 @@
# ui/helpers.py
# -*- coding: utf-8 -*-
import logging
import traceback
def log_error(message: str):
logging.error(f"{message}\n{traceback.format_exc()}")