diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index 563604c..5096641 100644 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -200,7 +200,7 @@ class Renamer(Plugin): # rename subtitles with or without language #rename_files[current_file] = os.path.join(destination, final_folder_name, final_file_name) - sub_langs = group['subtitle_language'].get(current_file) + sub_langs = group['subtitle_language'].get(current_file, []) rename_extras = self.getRenameExtras( extra_type = 'subtitle_extra',