From 89c295b4ad2f05fe80f995e3eac76ec5001490c4 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 8 Sep 2012 14:34:45 +0200 Subject: [PATCH] Properly get releases for check snatched --- couchpotato/core/plugins/renamer/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index 8e5b66c..a696265 100644 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -502,7 +502,7 @@ class Renamer(Plugin): done_status = fireEvent('status.get', 'done', single = True) db = get_session() - rels = db.query(Release).filter_by(status_id = snatched_status.get('id')) + rels = db.query(Release).filter_by(status_id = snatched_status.get('id')).all() if rels: log.debug('Checking status snatched releases...')