Remove unused imports and variables

This commit is contained in:
Lonami Exo
2020-07-04 12:18:39 +02:00
parent 0f8119c400
commit ab594ed0cb
7 changed files with 6 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
from .common import EventBuilder, EventCommon, name_inner_event
from .. import utils, helpers
from ..tl import types, functions
from .. import utils
from ..tl import types
@name_inner_event
@@ -398,7 +398,7 @@ class ChatAction(EventBuilder):
try:
self._input_users.append(utils.get_input_peer(self._entities[user_id]))
continue
except (KeyError, TypeError) as e:
except (KeyError, TypeError):
pass
# If missing, try from the entity cache

View File

@@ -1,10 +1,9 @@
import abc
import asyncio
import itertools
import warnings
from .. import utils
from ..tl import TLObject, types, functions
from ..tl import TLObject, types
from ..tl.custom.chatgetter import ChatGetter

View File

@@ -1,4 +1,3 @@
import asyncio
import re
from .common import EventBuilder, EventCommon, name_inner_event, _into_id_set