1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

dash: fix a warning

This commit is contained in:
Johan Andersson 2017-09-17 21:03:10 +02:00
parent bb291ec448
commit 8e5c7ddd30

View File

@ -95,7 +95,7 @@ def adaptionset(element, url, baseurl=None):
if i.find("{urn:mpeg:dash:schema:mpd:2011}SegmentBase") is not None:
files.append(filename)
if template:
if template is not None:
segments = True
files = templateelemt(template, filename, idnumber)
elif i.find("{urn:mpeg:dash:schema:mpd:2011}SegmentTemplate"):