Skip to content

Commit

Permalink
chore: 处理成功的日志往外提一级
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoaer committed Dec 3, 2023
1 parent 89e2567 commit 46d1810
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,11 @@ async def process_video(
fav_item.tmp_video_path.unlink()
fav_item.tmp_audio_path.unlink()
fav_item.downloaded = True
logger.info(
"{} {} processed successfully.",
fav_item.bvid,
fav_item.name,
)
logger.info(
"{} {} processed successfully.",
fav_item.bvid,
fav_item.name,
)
except ResponseCodeException as e:
match e.code:
case 62002:
Expand Down

0 comments on commit 46d1810

Please sign in to comment.