From c6638cef13d598e5aedb61acfa9b9080c680cbdc Mon Sep 17 00:00:00 2001 From: j Date: Tue, 6 Jun 2017 14:50:51 +0200 Subject: [PATCH] list/map py3 --- pandora/item/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index f9096f87..394cb1c6 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -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]: