mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 23:24:16 +01:00
dash: fix a warning
This commit is contained in:
parent
bb291ec448
commit
8e5c7ddd30
@ -95,7 +95,7 @@ def adaptionset(element, url, baseurl=None):
|
|||||||
|
|
||||||
if i.find("{urn:mpeg:dash:schema:mpd:2011}SegmentBase") is not None:
|
if i.find("{urn:mpeg:dash:schema:mpd:2011}SegmentBase") is not None:
|
||||||
files.append(filename)
|
files.append(filename)
|
||||||
if template:
|
if template is not None:
|
||||||
segments = True
|
segments = True
|
||||||
files = templateelemt(template, filename, idnumber)
|
files = templateelemt(template, filename, idnumber)
|
||||||
elif i.find("{urn:mpeg:dash:schema:mpd:2011}SegmentTemplate"):
|
elif i.find("{urn:mpeg:dash:schema:mpd:2011}SegmentTemplate"):
|
||||||
|
Loading…
Reference in New Issue
Block a user