From 25ea5775ab566fc7da2703742965d5b32e0c6fc7 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Fri, 17 Dec 2021 19:08:02 +0800 Subject: [PATCH] [fix] Replace error import in yvlu by py3.6 --- list.json | 2 +- yvlu.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/list.json b/list.json index ebaadbe..4ce963b 100644 --- a/list.json +++ b/list.json @@ -682,7 +682,7 @@ }, { "name": "yvlu", - "version": "1.211", + "version": "1.212", "section": "chat", "maintainer": "xtaodada", "size": "10.4 kb", diff --git a/yvlu.py b/yvlu.py index c9c7c83..ec7776a 100644 --- a/yvlu.py +++ b/yvlu.py @@ -8,7 +8,7 @@ from telethon.errors import YouBlockedUserError, ForbiddenError, FloodWaitError, from telethon.tl.functions.contacts import UnblockRequest from telethon.tl.functions.users import GetFullUserRequest from telethon.tl.types import MessageMediaPhoto, MessageMediaWebPage -from asyncio.exceptions import TimeoutError +from asyncio import TimeoutError from pagermaid import bot from pagermaid.listener import listener from pagermaid.utils import alias_command