forked from 0x2620/pandora
list/map py3
This commit is contained in:
parent
43f1d07dbe
commit
c6638cef13
1 changed files with 1 additions and 1 deletions
|
@ -1006,7 +1006,7 @@ def video(request, id, resolution, format, index=None, track=None):
|
||||||
if ':' in s:
|
if ':' in s:
|
||||||
s = ox.time2ms(s) / 1000
|
s = ox.time2ms(s) / 1000
|
||||||
return float(s)
|
return float(s)
|
||||||
t = map(parse_timestamp, t.split(','))
|
t = list(map(parse_timestamp, t.split(',')))
|
||||||
ext = '.%s' % format
|
ext = '.%s' % format
|
||||||
content_type = mimetypes.guess_type(path)[0]
|
content_type = mimetypes.guess_type(path)[0]
|
||||||
if len(t) == 2 and t[1] > t[0] and stream.info['duration'] >= t[1]:
|
if len(t) == 2 and t[1] > t[0] and stream.info['duration'] >= t[1]:
|
||||||
|
|
Loading…
Reference in a new issue