movie.py: more bugfixes
This commit is contained in:
parent
a46e3ee210
commit
00ea83dffe
1 changed files with 3 additions and 1 deletions
|
@ -150,7 +150,9 @@ def parse_item_files(files):
|
|||
main_version = language_version_keys[0] if language_version_keys else full_version_keys[0]
|
||||
# add duplicate files
|
||||
for file in duplicate_files:
|
||||
version_files[get_version_key(file)].append(file)
|
||||
key = get_version_key(file, extension=False)
|
||||
version_key = '%s%s' % (key, extension[key] if key in extension else '')
|
||||
version_files[version_key].append(file)
|
||||
# return data
|
||||
data = []
|
||||
for version_key in version_files:
|
||||
|
|
Loading…
Reference in a new issue