From 4f609f6090bfbb13c42a35ac204f1330ef8a6ea5 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 14 Feb 2012 15:26:28 +0530 Subject: [PATCH] timecodes can have milliseconds --- pandora/urlalias/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandora/urlalias/views.py b/pandora/urlalias/views.py index 2a8dddda..c9c741fb 100644 --- a/pandora/urlalias/views.py +++ b/pandora/urlalias/views.py @@ -54,8 +54,7 @@ def padma_video(request, url): url = '/%s' % alias.new timecodes = re.compile('(\d{2}:\d{2}:\d{2}\.\d{3})-(\d{2}:\d{2}:\d{2}\.\d{3})').findall(view) if timecodes: - timecodes = [t[:-4] for t in timecodes[0]] - view = ','.join(timecodes) + view = ','.join(timecodes[0]) if view: url += '/' + { 'editor': 'timeline',