From 210a5fe23d6770068bba00d7311c5dfe23b7914d Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Thu, 17 Feb 2022 03:28:53 +0800 Subject: [PATCH] [fix] a bug --- program/music.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/program/music.py b/program/music.py index 03bd19f..fb3d717 100644 --- a/program/music.py +++ b/program/music.py @@ -99,6 +99,9 @@ async def play_tg_file(c: Client, m: Message, replied: Message = None, link: str duration = convert_seconds(replied.voice.duration) except BaseException: pass + # recheck + if not thumbnail: + thumbnail = f"{IMG_5}" if chat_id in QUEUE: await suhu.edit("🔄 Queueing Track...")