Properly get releases for check snatched
This commit is contained in:
1 parent
3767a2411a
commit
89c295b4ad
1 file changed
+1
-1
@@ -502,7 +502,7 @@ class Renamer(Plugin):
|
|||||||
done_status = fireEvent('status.get', 'done', single = True)
|
done_status = fireEvent('status.get', 'done', single = True)
|
||||||
|
|
||||||
db = get_session()
|
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:
|
if rels:
|
||||||
log.debug('Checking status snatched releases...')
|
log.debug('Checking status snatched releases...')
|
||||||
|
|||||||
Reference in new issue
Block a user