mirror of
https://github.com/BsaLee/up163cloud.git
synced 2026-01-11 23:50:43 +08:00
Fix bugs
This commit is contained in:
parent
f33bf31420
commit
aa11a82259
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,6 +1,5 @@
|
||||
__pycache__/
|
||||
.history/
|
||||
neteasecloudmusicapi/
|
||||
cookies.txt
|
||||
failed_ids.txt
|
||||
*.txt
|
||||
*.json
|
||||
2
main.py
2
main.py
@ -176,7 +176,7 @@ def get_resume_song_info_list(song_info_list) -> list:
|
||||
last_failed_id = get_last_failed_id()
|
||||
if last_failed_id is None:
|
||||
print("暂无上传失败记录,从头开始上传")
|
||||
return
|
||||
return song_info_list
|
||||
for index, song_info in enumerate(song_info_list):
|
||||
if int(song_info['id']) == last_failed_id:
|
||||
print(f"当前已上传: {index + 1},最后上传失败的 id: {song_info['id']}")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user