This commit is contained in:
mano3m
2014-06-23 21:13:59 +02:00
parent 9f6036c8d6
commit 424a3cd892
5 changed files with 13 additions and 12 deletions
+3 -2
View File
@@ -453,8 +453,9 @@ class Renamer(Plugin):
profile = db.get('id', media['profile_id'])
except:
# Set profile to None as it does not exist anymore
media['profile_id'] = None
db.update(media)
mdia = db.get('id', media['_id'])
mdia['profile_id'] = None
db.update(mdia)
log.error('Error getting quality profile for %s: %s', (media_title, traceback.format_exc()))
else:
log.debug('Media has no quality profile: %s', media_title)