From b656910a104bd1c5093773432d2ec7b81a887328 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sat, 12 Feb 2022 18:44:51 +0700 Subject: [PATCH] some fixes --- driver/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/driver/utils.py b/driver/utils.py index aa23436..11e7635 100644 --- a/driver/utils.py +++ b/driver/utils.py @@ -6,7 +6,7 @@ from driver.queues import ( clear_queue, get_queue, pop_an_item, - clear_trash, + clean_trash, ) from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup @@ -36,7 +36,6 @@ async def skip_current_song(chat_id): chat_queue = get_queue(chat_id) if "t.me" in chat_queue[0][2]: clean_trash(chat_queue[0][1], chat_id) - return if len(chat_queue) == 1: await calls.leave_group_call(chat_id) await remove_active_chat(chat_id)