Browse Source

Properly get releases for check snatched

pull/834/head
Ruud 13 years ago
parent
commit
89c295b4ad
  1. 2
      couchpotato/core/plugins/renamer/main.py

2
couchpotato/core/plugins/renamer/main.py

@ -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...')

Loading…
Cancel
Save