From 9b92a3d39610c97598f18716b47c7bef38fab251 Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 5 Nov 2013 21:24:47 +0100 Subject: [PATCH] Make sure the ignored files get used. fix #2425 --- couchpotato/core/plugins/scanner/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/couchpotato/core/plugins/scanner/main.py b/couchpotato/core/plugins/scanner/main.py index f7d407d1..6580edea 100644 --- a/couchpotato/core/plugins/scanner/main.py +++ b/couchpotato/core/plugins/scanner/main.py @@ -201,6 +201,11 @@ class Scanner(Plugin): has_ignored += 1 if ext == 'ignore' else 0 + if has_ignored == 0: + for file_path in list(group['unsorted_files']): + ext = getExt(file_path) + has_ignored += 1 if ext == 'ignore' else 0 + if has_ignored > 0: ignored_identifiers.append(identifier)