From e7a824864e5de47e951f304a5d5858676f2fc9be Mon Sep 17 00:00:00 2001 From: blank X Date: Fri, 23 Oct 2020 18:32:11 +0700 Subject: [PATCH] telegram being inconsistent --- acpbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acpbot.py b/acpbot.py index 58c544d..3bc6b6a 100644 --- a/acpbot.py +++ b/acpbot.py @@ -141,7 +141,7 @@ async def main(): except MessageIdInvalidError: chat_data['lastpinned'] = 0 to_write = True - except ChatNotModifiedError: + except (ChatNotModifiedError, AttributeError): pass processing_chats[e.chat_id][2] = False if to_delete: