movie.py: typo
This commit is contained in:
parent
359052f780
commit
436abe3def
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ def parse_item_files(files):
|
||||||
main_files[version_key] = video_files if full[version_key] else []
|
main_files[version_key] = video_files if full[version_key] else []
|
||||||
# determine preferred subtitle language
|
# determine preferred subtitle language
|
||||||
language[version_key] = None
|
language[version_key] = None
|
||||||
subtitle_files = [file for file in version_files[version] if file['extension'] == 'srt']
|
subtitle_files = [file for file in version_files[version_key] if file['extension'] == 'srt']
|
||||||
for subtitle_language in sorted(
|
for subtitle_language in sorted(
|
||||||
list(set([file['language'] for file in subtitle_files])),
|
list(set([file['language'] for file in subtitle_files])),
|
||||||
key=lambda x: LANGUAGES.index(x) if x in LANGUAGES else x
|
key=lambda x: LANGUAGES.index(x) if x in LANGUAGES else x
|
||||||
|
|
Loading…
Reference in a new issue