list/map py3

This commit is contained in:
j 2017-06-06 14:50:51 +02:00
parent 43f1d07dbe
commit c6638cef13
1 changed files with 1 additions and 1 deletions

View File

@ -1006,7 +1006,7 @@ def video(request, id, resolution, format, index=None, track=None):
if ':' in s:
s = ox.time2ms(s) / 1000
return float(s)
t = map(parse_timestamp, t.split(','))
t = list(map(parse_timestamp, t.split(',')))
ext = '.%s' % format
content_type = mimetypes.guess_type(path)[0]
if len(t) == 2 and t[1] > t[0] and stream.info['duration'] >= t[1]: