mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-09 08:14:50 +00:00
Remove unused import and class
This commit is contained in:
parent
9078639243
commit
9bb8fe55da
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue