From b6f850dc2702def0ed11c985c7dde1138a7818f3 Mon Sep 17 00:00:00 2001 From: Ruud Date: Thu, 3 Oct 2013 08:30:13 +0200 Subject: [PATCH] in_ needs list.. --- 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 fe28a2d8..28d5eef7 100755 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -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 = []