mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-30 13:57:54 +00:00
Remove unused import and class
This commit is contained in:
@@ -33,7 +33,7 @@ from configparser import ConfigParser
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from hashlib import sha256, md5
|
from hashlib import sha256, md5
|
||||||
from signal import signal, SIGINT, SIGTERM, SIGABRT
|
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 import functions, types
|
||||||
from pyrogram.api.core import Object
|
from pyrogram.api.core import Object
|
||||||
@@ -45,7 +45,6 @@ from pyrogram.api.errors import (
|
|||||||
VolumeLocNotFound, UserMigrate, FileIdInvalid)
|
VolumeLocNotFound, UserMigrate, FileIdInvalid)
|
||||||
from pyrogram.crypto import AES
|
from pyrogram.crypto import AES
|
||||||
from pyrogram.session import Auth, Session
|
from pyrogram.session import Auth, Session
|
||||||
from . import types as pyrogram_types
|
|
||||||
from .dispatcher import Dispatcher
|
from .dispatcher import Dispatcher
|
||||||
from .ext import utils, Syncer, BaseClient
|
from .ext import utils, Syncer, BaseClient
|
||||||
from .methods import Methods
|
from .methods import Methods
|
||||||
@@ -1258,4 +1257,3 @@ class Client(Methods, BaseClient):
|
|||||||
finally:
|
finally:
|
||||||
pass # Don't stop sessions, they are now cached and kept online
|
pass # Don't stop sessions, they are now cached and kept online
|
||||||
# session.stop() TODO: Remove this branch
|
# session.stop() TODO: Remove this branch
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user