This commit is contained in:
levina 2022-02-20 20:37:25 +07:00 committed by GitHub
parent 6618051986
commit d5d4a1ad1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,6 @@ async def play_tg_file(c: Client, m: Message, replied: Message = None, link: str
duration = convert_seconds(replied.video.duration) duration = convert_seconds(replied.video.duration)
elif replied.document: elif replied.document:
songname = replied.document.file_name[:80] songname = replied.document.file_name[:80]
duration = convert_seconds(replied.document.duration)
except BaseException: except BaseException:
songname = "Video" songname = "Video"