[check] clean unused imports

This commit is contained in:
levina 2022-02-21 15:51:06 +07:00 committed by GitHub
parent f8df154ff4
commit d6341af38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import traceback import traceback
from cache.admins import admins from cache.admins import admins
from driver.core import calls, bot from driver.core import calls
from pyrogram import Client, filters from pyrogram import Client, filters
from driver.design.thumbnail import thumb from driver.design.thumbnail import thumb
from driver.design.chatname import CHAT_TITLE 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.filters import command, other_filters
from driver.decorators import authorized_users_only, check_blacklist from driver.decorators import authorized_users_only, check_blacklist
from driver.utils import skip_current_song, skip_item, remove_if_exists from driver.utils import skip_current_song, skip_item, remove_if_exists
from config import BOT_USERNAME, IMG_5
from driver.database.dbqueue import ( from driver.database.dbqueue import (
is_music_playing, is_music_playing,
@ -16,20 +17,9 @@ from driver.database.dbqueue import (
music_off, music_off,
music_on, music_on,
) )
from program.utils.inline import ( from program.utils.inline import stream_markup, close_mark
stream_markup,
close_mark,
back_mark,
)
from config import (
BOT_USERNAME,
GROUP_SUPPORT,
IMG_5,
UPDATES_CHANNEL,
)
from pyrogram.types import ( from pyrogram.types import (
CallbackQuery, CallbackQuery,
InlineKeyboardButton,
InlineKeyboardMarkup, InlineKeyboardMarkup,
Message, Message,
) )
@ -163,7 +153,7 @@ async def skip(c: Client, m: Message):
if data == 0: if data == 0:
pass pass
else: else:
track = track + "\n" + f"**#{x}** - {hm}" track = track + "\n" + f"**#{x}** - {data}"
await m.reply(track) await m.reply(track)