Length of nonetype error. fixes #105

This commit is contained in:
Ruud
2012-04-18 22:28:21 +02:00
parent 187cd09f04
commit b808637fcf
+1 -1
View File
@@ -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',