Neteasemusic 奇怪的bug修复

Co-authored-by: TNTcraftHIM <TNTcraftHIM@users.noreply.github.com>
This commit is contained in:
AAA 2020-11-10 22:35:54 +08:00 committed by GitHub
parent 00a0672742
commit b496963ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -282,7 +282,7 @@
},
{
"name": "neteasemusic",
"version": "4.1",
"version": "4.2",
"section": "daily",
"maintainer": "TNTcraftHIM",
"size": "29.1 kb",

View File

@ -203,8 +203,9 @@ async def nem(context):
if idplay:
req['result'] = req
result = req['result']
if req['result']['songCount'] == 0:
result = False
if not idplay:
if req['result']['songCount'] == 0:
result = False
else:
result = False
if result: