Fix timestamp parsing by correcting string slicing for start time

This commit is contained in:
BordedDev
2025-05-22 08:10:39 +02:00
parent b2a4887e23
commit a11c336cf5
+1 -1
View File
@@ -118,7 +118,7 @@ def embed_youtube(text):
queries["start"] = []
for t in start_time:
if t.endswith("s"):
t = start_time[:-1]
t = t[:-1]
if t.isdigit():
queries["start"].append(t)
else: