进行文件的逻辑拆分
初步对ui.py以及novel_generator.py进行了拆分
This commit is contained in:
@@ -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()}")
|
||||
Reference in New Issue
Block a user