gold_readbag and russian

This commit is contained in:
hibiki
2021-06-15 10:57:08 +08:00
parent 95209093de
commit ea620fdae9
125 changed files with 2106 additions and 1244 deletions
+1 -2
View File
@@ -98,8 +98,7 @@ class dataGet(dataApi):
r = await self.api.getSongInfo(songId)
if r is None:
raise WrongDataError
print(r)
if r['code'] == '-460':
if r['code'] == -460:
return '网易云网络繁忙!'
songInfo["songName"] = r["songs"][0]["name"]