in_ needs list..

This commit is contained in:
Ruud
2013-10-03 08:30:13 +02:00
parent 38ce63795c
commit b6f850dc27
+1 -1
View File
@@ -662,7 +662,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
db = get_session()
rels = db.query(Release).filter(
Release.status_id.in_(snatched_status.get('id'), seeding_status.get('id'), missing_status.get('id'))
Release.status_id.in_([snatched_status.get('id'), seeding_status.get('id'), missing_status.get('id')])
).all()
scan_items = []