mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-04 23:18:02 +08:00
chore: 处理成功的日志往外提一级
This commit is contained in:
+5
-5
@@ -287,11 +287,11 @@ async def process_video(
|
|||||||
fav_item.tmp_video_path.unlink()
|
fav_item.tmp_video_path.unlink()
|
||||||
fav_item.tmp_audio_path.unlink()
|
fav_item.tmp_audio_path.unlink()
|
||||||
fav_item.downloaded = True
|
fav_item.downloaded = True
|
||||||
logger.info(
|
logger.info(
|
||||||
"{} {} processed successfully.",
|
"{} {} processed successfully.",
|
||||||
fav_item.bvid,
|
fav_item.bvid,
|
||||||
fav_item.name,
|
fav_item.name,
|
||||||
)
|
)
|
||||||
except ResponseCodeException as e:
|
except ResponseCodeException as e:
|
||||||
match e.code:
|
match e.code:
|
||||||
case 62002:
|
case 62002:
|
||||||
|
|||||||
Reference in New Issue
Block a user