From a46e3ee210fbcadfdf43ab0a97df43900522b43b Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 22 Aug 2012 12:54:56 +0200 Subject: [PATCH] movie.py: typo --- ox/movie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox/movie.py b/ox/movie.py index 534b4d8..f64a053 100644 --- a/ox/movie.py +++ b/ox/movie.py @@ -99,7 +99,7 @@ def parse_item_files(files): time[version_key] = sorted([time[version_key], file['time']])[-1] if version_key in time else file['time'] # determine preferred video extension (newest) extension = {} - for key in set(['/'.join(version_key.split('/')[:-1]) + '.' for version_key in version_files]): + for key in set(['/'.join(version_key.split('/')[:-1]) + '/' for version_key in version_files]): extensions = set([version_key.split('/')[-1] for version_key in version_files if version_key.startswith(key)]) extension[key] = sorted(extensions, key=lambda x: time[key + x])[-1] # associate other (non-video) files