总结的时候,不进行@ 引用分析
This commit is contained in:
@@ -10,9 +10,6 @@ from wcferry import WxMsg, Wcf
|
|||||||
|
|
||||||
from db.connection import DBConnectionManager
|
from db.connection import DBConnectionManager
|
||||||
from db.message_storage import MessageStorageDB
|
from db.message_storage import MessageStorageDB
|
||||||
# 导入消息格式化工具
|
|
||||||
from utils.message_formatter import format_quote_message
|
|
||||||
|
|
||||||
# 配置日志
|
# 配置日志
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
level=logging.INFO,
|
level=logging.INFO,
|
||||||
@@ -119,7 +116,7 @@ class MessageStorage:
|
|||||||
# 确保目标目录存在
|
# 确保目标目录存在
|
||||||
if not os.path.exists(target_dir):
|
if not os.path.exists(target_dir):
|
||||||
os.makedirs(target_dir, exist_ok=True)
|
os.makedirs(target_dir, exist_ok=True)
|
||||||
|
|
||||||
# 尝试使用wcf下载图片到分组后的目录
|
# 尝试使用wcf下载图片到分组后的目录
|
||||||
download_path = self.wcf.download_image(msg.id, msg.extra, target_dir)
|
download_path = self.wcf.download_image(msg.id, msg.extra, target_dir)
|
||||||
if download_path:
|
if download_path:
|
||||||
|
|||||||
Reference in New Issue
Block a user