From 9a6cfe3a2163b7f2a537ad844e052e00e0a24d87 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 3 Dec 2012 13:55:02 +0100 Subject: [PATCH] Wait for wasn't used. fix #1104 --- couchpotato/core/plugins/searcher/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/couchpotato/core/plugins/searcher/main.py b/couchpotato/core/plugins/searcher/main.py index 55115122..c68e7ab0 100644 --- a/couchpotato/core/plugins/searcher/main.py +++ b/couchpotato/core/plugins/searcher/main.py @@ -204,6 +204,10 @@ class Searcher(Plugin): for nzb in sorted_results: + if not quality_type.get('finish', False) and quality_type.get('wait_for', 0) > 0 and nzb.get('age') <= quality_type.get('wait_for', 0): + log.info('Ignored, waiting %s days: %s', (quality_type.get('wait_for'), nzb['name'])) + continue + if nzb['status_id'] == ignored_status.get('id'): log.info('Ignored: %s', nzb['name']) continue