Properly get releases for check snatched

This commit is contained in:
Ruud
2012-09-08 14:34:45 +02:00
parent 3767a2411a
commit 89c295b4ad
+1 -1
View File
@@ -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...')