From d6341af38bb9da2ab6b684d12c619cf2f6b91e9e Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Mon, 21 Feb 2022 15:51:06 +0700 Subject: [PATCH] [check] clean unused imports --- program/admins.py | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/program/admins.py b/program/admins.py index aeb27e1..b039d0f 100644 --- a/program/admins.py +++ b/program/admins.py @@ -1,7 +1,7 @@ import traceback from cache.admins import admins -from driver.core import calls, bot +from driver.core import calls from pyrogram import Client, filters from driver.design.thumbnail import thumb from driver.design.chatname import CHAT_TITLE @@ -9,6 +9,7 @@ from driver.queues import QUEUE, clear_queue from driver.filters import command, other_filters from driver.decorators import authorized_users_only, check_blacklist from driver.utils import skip_current_song, skip_item, remove_if_exists +from config import BOT_USERNAME, IMG_5 from driver.database.dbqueue import ( is_music_playing, @@ -16,20 +17,9 @@ from driver.database.dbqueue import ( music_off, music_on, ) -from program.utils.inline import ( - stream_markup, - close_mark, - back_mark, -) -from config import ( - BOT_USERNAME, - GROUP_SUPPORT, - IMG_5, - UPDATES_CHANNEL, -) +from program.utils.inline import stream_markup, close_mark from pyrogram.types import ( CallbackQuery, - InlineKeyboardButton, InlineKeyboardMarkup, Message, ) @@ -163,7 +153,7 @@ async def skip(c: Client, m: Message): if data == 0: pass else: - track = track + "\n" + f"**#{x}** - {hm}" + track = track + "\n" + f"**#{x}** - {data}" await m.reply(track)