timecodes can have milliseconds
This commit is contained in:
parent
ab33af301e
commit
4f609f6090
1 changed files with 1 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue