From 32b479467a08d42431a527afe96d642855b04306 Mon Sep 17 00:00:00 2001 From: Jesse Read Date: Sat, 31 Aug 2013 20:45:37 -0400 Subject: [PATCH] Fix missed type/protocol change. Fixes torrents being created as .movie files. --- couchpotato/core/plugins/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/base.py b/couchpotato/core/plugins/base.py index 89ef29bc..1ece9272 100644 --- a/couchpotato/core/plugins/base.py +++ b/couchpotato/core/plugins/base.py @@ -294,7 +294,7 @@ class Plugin(object): name = os.path.join(self.createNzbName(data, movie)) if data.get('type') == 'nzb' and 'DOCTYPE nzb' not in filedata and '' not in filedata: return '%s.%s' % (name, 'rar') - return '%s.%s' % (name, data.get('type')) + return '%s.%s' % (name, data.get('protocol')) def cpTag(self, movie): if Env.setting('enabled', 'renamer'):