typo
This commit is contained in:
parent
c33edd3ff3
commit
762fab3519
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ def parse_item_files(files):
|
|||
for extension in EXTENSIONS['subtitle']:
|
||||
subtitle_files = [file for file in version_files[version_key] if file['extension'] == extension]
|
||||
subtitle_languages = set([file['language'] for file in subtitle_files])
|
||||
if len(languages) == 1 and languages[0] == LANGUAGES[0]:
|
||||
if len(subtitle_languages) == 1 and subtitle_languages[0] == LANGUAGES[0]:
|
||||
for subtitle_file in subtitle_files:
|
||||
subtitle_file['normalizedPath'] = format_path(dict(subtitle_file, **{'language': None}))
|
||||
# return data
|
||||
|
|
Loading…
Reference in a new issue