Commit 39e023db by baiquan

refactor(upload): 注释掉日志输出语句

- 在 upload_image_and_video.py 文件中,注释掉了 logger.info() 调用
- 这个修改可能是为了减少日志输出或者进行调试
parent 428bb92b
......@@ -110,7 +110,7 @@ def get_local_path(id, url):
file_path=fr'{exists[1]}:\images\{id}\{zui}'
if not os.path.exists(file_path):
raise FileNotFoundError(f"该文件不存在 --> {file_path}")
logger.info(f"文件存在 --> {file_path}")
# logger.info(f"文件存在 --> {file_path}")
return file_path
else:
error_msg = f"数据库中不存在该资源 --> {id} {url}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment