1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

subtitle: missing whitespace around arithmetic operator

This commit is contained in:
Johan Andersson 2018-07-10 23:00:44 +02:00
parent 6813862727
commit 6a324ed319

View File

@ -266,7 +266,7 @@ class subtitle(object):
text = cont.text.split("\n")
for t in text: # is in text[1] for tv4play, but this should be more future proof
if 'X-TIMESTAMP-MAP=MPEGTS' in t:
time = float(re.search(r"X-TIMESTAMP-MAP=MPEGTS:(\d+)", t).group(1))/90000
time = float(re.search(r"X-TIMESTAMP-MAP=MPEGTS:(\d+)", t).group(1)) / 90000
text = text[3:len(text) - 2]
if len(text) > 1:
itmes = []