Browse Source

Profile references before assigned. fix #3220

pull/3234/head
Ruud 11 years ago
parent
commit
66b4821f7f
  1. 1
      couchpotato/core/plugins/renamer.py

1
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'])

Loading…
Cancel
Save