From cceb22d729ecda413af7c832dfc4f49c7f62a44a Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 17 Nov 2024 08:56:02 +0800 Subject: [PATCH] fix log level --- app/chain/media.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/chain/media.py b/app/chain/media.py index 3b0d265a..9c794a75 100644 --- a/app/chain/media.py +++ b/app/chain/media.py @@ -410,7 +410,7 @@ class MediaChain(ChainBase, metaclass=Singleton): image_path = filepath / image_name if not overwrite and self.storagechain.get_file_item(storage=fileitem.storage, path=image_path): - logger.info(f"已存在图片文件:{image_path}") + logger.debug(f"已存在图片文件:{image_path}") continue # 下载图片 content = __download_image(_url=attr_value) @@ -449,7 +449,7 @@ class MediaChain(ChainBase, metaclass=Singleton): for episode, image_url in image_dict.items(): image_path = filepath.with_suffix(Path(image_url).suffix) if not overwrite and self.storagechain.get_file_item(storage=fileitem.storage, path=image_path): - logger.info(f"已存在图片文件:{image_path}") + logger.debug(f"已存在图片文件:{image_path}") continue # 下载图片 content = __download_image(image_url) @@ -489,7 +489,7 @@ class MediaChain(ChainBase, metaclass=Singleton): image_path = filepath.with_name(image_name) if not overwrite and self.storagechain.get_file_item(storage=fileitem.storage, path=image_path): - logger.info(f"已存在图片文件:{image_path}") + logger.debug(f"已存在图片文件:{image_path}") continue # 下载图片 content = __download_image(image_url) @@ -517,7 +517,7 @@ class MediaChain(ChainBase, metaclass=Singleton): image_path = filepath / image_name if not overwrite and self.storagechain.get_file_item(storage=fileitem.storage, path=image_path): - logger.info(f"已存在图片文件:{image_path}") + logger.debug(f"已存在图片文件:{image_path}") continue # 下载图片 content = __download_image(image_url)