Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
doudian-py
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiquan
doudian-py
Commits
39e023db
Commit
39e023db
authored
Jul 21, 2025
by
baiquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(upload): 注释掉日志输出语句
- 在 upload_image_and_video.py 文件中,注释掉了 logger.info() 调用 - 这个修改可能是为了减少日志输出或者进行调试
parent
428bb92b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
service/upload_image_and_video.py
+1
-1
No files found.
service/upload_image_and_video.py
View file @
39e023db
...
...
@@ -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}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment