From 83c5d701b36484bfca6f7ba08d61d9b42dbd1c9c Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 24 Mar 2014 22:14:47 +0100 Subject: [PATCH] Use release as dict not class --- couchpotato/core/plugins/renamer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/renamer.py b/couchpotato/core/plugins/renamer.py index 8c5a182..59e3b7d 100644 --- a/couchpotato/core/plugins/renamer.py +++ b/couchpotato/core/plugins/renamer.py @@ -578,11 +578,11 @@ class Renamer(Plugin): # Remove matching releases for release in remove_releases: - log.debug('Removing release %s', release.identifier) + log.debug('Removing release %s', release.get('identifier')) try: db.delete(release) except: - log.error('Failed removing %s: %s', (release.identifier, traceback.format_exc())) + log.error('Failed removing %s: %s', (release, traceback.format_exc())) if group['dirname'] and group['parentdir'] and not self.downloadIsTorrent(release_download): if media_folder: