mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-20 15:10:09 +08:00
chore: 更换代码格式化器,移除无用依赖
This commit is contained in:
@@ -302,9 +302,10 @@ async def process_favorite_item(
|
||||
await process.communicate()
|
||||
fav_item.tmp_video_path.unlink()
|
||||
else:
|
||||
paths, tasks = [fav_item.tmp_video_path], [
|
||||
download_content(streams[0].url, fav_item.tmp_video_path)
|
||||
]
|
||||
paths, tasks = (
|
||||
[fav_item.tmp_video_path],
|
||||
[download_content(streams[0].url, fav_item.tmp_video_path)],
|
||||
)
|
||||
if streams[1]:
|
||||
paths.append(fav_item.tmp_audio_path)
|
||||
tasks.append(download_content(streams[1].url, fav_item.tmp_audio_path))
|
||||
|
||||
Reference in New Issue
Block a user