🐛 fix judgment error

🐛 修复判断错误
This commit is contained in:
Xtao_dada 2021-05-22 01:46:48 +08:00 committed by GitHub
parent 399597105c
commit c0a14fe4ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ async def sticker(context):
if redis_status():
if redis.get("sticker.round"):
pic_round = True
if len(context.parameter) != 1:
if len(context.parameter) == 1:
if context.parameter[0] == "set_round":
if pic_round:
redis.delete("sticker.round")