From b808637fcf8bf3c45596f1af3f066aa60f0a087d Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 18 Apr 2012 22:28:21 +0200 Subject: [PATCH] Length of nonetype error. fixes #105 --- couchpotato/core/plugins/renamer/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',