Profile references before assigned. fix #3220
This commit is contained in:
@@ -450,6 +450,7 @@ class Renamer(Plugin):
|
|||||||
remove_leftovers = True
|
remove_leftovers = True
|
||||||
|
|
||||||
# Mark movie "done" once it's found the quality with the finish check
|
# Mark movie "done" once it's found the quality with the finish check
|
||||||
|
profile = None
|
||||||
try:
|
try:
|
||||||
if media.get('status') == 'active' and media.get('profile_id'):
|
if media.get('status') == 'active' and media.get('profile_id'):
|
||||||
profile = db.get('id', media['profile_id'])
|
profile = db.get('id', media['profile_id'])
|
||||||
|
|||||||
Reference in New Issue
Block a user