fix 500 error

master
Aevann 2023-10-12 21:19:40 +03:00
parent d22b98a961
commit 38e836f804
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ def handle_youtube_links(url):
if isinstance(t, str): if isinstance(t, str):
t = t.replace('s','').replace('S','') t = t.replace('s','').replace('S','')
split = t.split('m') split = t.split('m')
if len(split) == 2: if len(split) == 2 and split[1]:
minutes = int(split[0]) minutes = int(split[0])
seconds = int(split[1]) seconds = int(split[1])
t = minutes*60 + seconds t = minutes*60 + seconds