From 66b4821f7f045ee322686dcaa792344e1edb148e Mon Sep 17 00:00:00 2001 From: Ruud Date: Thu, 8 May 2014 16:40:27 +0200 Subject: [PATCH] Profile references before assigned. fix #3220 --- couchpotato/core/plugins/renamer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/couchpotato/core/plugins/renamer.py b/couchpotato/core/plugins/renamer.py index d32a636..3d56aa9 100644 --- a/couchpotato/core/plugins/renamer.py +++ b/couchpotato/core/plugins/renamer.py @@ -450,6 +450,7 @@ class Renamer(Plugin): remove_leftovers = True # Mark movie "done" once it's found the quality with the finish check + profile = None try: if media.get('status') == 'active' and media.get('profile_id'): profile = db.get('id', media['profile_id'])