修复:轻微bug

This commit is contained in:
Wuyi无疑 2021-12-20 00:36:29 +08:00
parent d81d3db719
commit 4d911c31ec

View File

@ -100,10 +100,11 @@ async def draw_wordcloud(uid,image = None,mode = 2):
errorDB(use_cookies,"limit30")
elif (raw_data["retcode"] == 10102):
return ("当前查询id已经设置了隐私无法查询")
return (
"Api报错返回内容为\r\n"
+ str(raw_data) + "\r\n出现这种情况可能的UID输入错误 or 不存在"
)
else:
return (
"Api报错返回内容为\r\n"
+ str(raw_data) + "\r\n出现这种情况可能的UID输入错误 or 不存在"
)
else:
break
@ -374,10 +375,11 @@ async def draw_abyss0_pic(uid,nickname,image = None,mode = 2,date = "1"):
errorDB(use_cookies,"limit30")
elif (raw_data["retcode"] == 10102):
return ("当前查询id已经设置了隐私无法查询")
return (
"Api报错返回内容为\r\n"
+ str(raw_data) + "\r\n出现这种情况可能的UID输入错误 or 不存在"
)
else:
return (
"Api报错返回内容为\r\n"
+ str(raw_data) + "\r\n出现这种情况可能的UID输入错误 or 不存在"
)
else:
break
@ -664,10 +666,11 @@ async def draw_abyss_pic(uid,nickname,floor_num,image = None,mode = 2,date = "1"
errorDB(use_cookies,"limit30")
elif (raw_data["retcode"] == 10102):
return ("当前查询id已经设置了隐私无法查询")
return (
"Api报错返回内容为\r\n"
+ str(raw_data) + "\r\n出现这种情况可能的UID输入错误 or 不存在"
)
else:
return (
"Api报错返回内容为\r\n"
+ str(raw_data) + "\r\n出现这种情况可能的UID输入错误 or 不存在"
)
else:
break