1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 15:14:14 +01:00

subtitle.wrstsegment: fix a crash from a fix in 4.3

This commit is contained in:
Johan Andersson 2021-09-11 16:33:42 +02:00
parent 08a85a97e9
commit 8771cde5f6

View File

@ -450,7 +450,7 @@ def tt_text(node, data):
def strdate(datestring):
match = re.search(r"^(\d+:\d+:[\.0-9]+) --> (\d+:\d+:[\.0-9]+)", datestring)
match = re.search(r"^(\d+:\d+:[\.,0-9]+) --> (\d+:\d+:[\.,0-9]+)", datestring)
return match