From 9bb8fe55dac7aa625454fcc8a2197083170af588 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 11 May 2018 12:50:48 +0200 Subject: [PATCH] Remove unused import and class --- pyrogram/client/client.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 561b70ec..6360b52c 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -33,7 +33,7 @@ from configparser import ConfigParser from datetime import datetime from hashlib import sha256, md5 from signal import signal, SIGINT, SIGTERM, SIGABRT -from threading import Event, Thread +from threading import Thread from pyrogram.api import functions, types from pyrogram.api.core import Object @@ -45,7 +45,6 @@ from pyrogram.api.errors import ( VolumeLocNotFound, UserMigrate, FileIdInvalid) from pyrogram.crypto import AES from pyrogram.session import Auth, Session -from . import types as pyrogram_types from .dispatcher import Dispatcher from .ext import utils, Syncer, BaseClient from .methods import Methods @@ -1258,4 +1257,3 @@ class Client(Methods, BaseClient): finally: pass # Don't stop sessions, they are now cached and kept online # session.stop() TODO: Remove this branch -