From c0a14fe4ad9d200d31f24adfacdb62ffaaf62da9 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Sat, 22 May 2021 01:46:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20judgment=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🐛 修复判断错误 --- pagermaid/modules/sticker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pagermaid/modules/sticker.py b/pagermaid/modules/sticker.py index 7b72c91..c37fe3d 100644 --- a/pagermaid/modules/sticker.py +++ b/pagermaid/modules/sticker.py @@ -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")