This commit is contained in:
lowking 2021-05-24 09:44:23 +08:00 committed by GitHub
parent 3adccc1b6c
commit 0efd536480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
pl.py
View File

@ -43,7 +43,10 @@ async def pl(context):
txt = a.text.replace("嘌呤含量", "")
result = f"{result}{txt}\n"
status = True
await context.edit(result)
if result == "":
await context.edit("没有查到结果")
else:
await context.edit(result)
break
except:
pass