From 9ce93a14d07296cdccccb733259b5d1f88c9747d Mon Sep 17 00:00:00 2001 From: xtaodada Date: Thu, 17 Mar 2022 19:16:06 +0800 Subject: [PATCH] eat fix a bug --- eat.py | 2 -- list.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/eat.py b/eat.py index 6f19806..96c6950 100644 --- a/eat.py +++ b/eat.py @@ -430,8 +430,6 @@ async def eat(client_: Client, context: Message): safe_remove(f"plugins{sep}eat{sep}" + str(target_user_id) + ".png") safe_remove(f"plugins{sep}eat{sep}" + str(from_user_id) + ".jpg") safe_remove(f"plugins{sep}eat{sep}" + str(from_user_id) + ".png") - safe_remove(f"plugins{sep}eat{sep}eat.webp") - safe_remove(photo) else: return await context.edit("此用户未设置头像或头像对您不可见。") if reply_to: diff --git a/list.json b/list.json index 312fc35..a613673 100644 --- a/list.json +++ b/list.json @@ -12,7 +12,7 @@ }, { "name": "eat", - "version": "1.044", + "version": "1.045", "section": "profile", "maintainer": "SF_PICK", "size": "20.0 kb",