diff --git a/couchpotato/core/plugins/scanner/main.py b/couchpotato/core/plugins/scanner/main.py index 8b183f3c..e71d5c20 100644 --- a/couchpotato/core/plugins/scanner/main.py +++ b/couchpotato/core/plugins/scanner/main.py @@ -165,6 +165,9 @@ class Scanner(Plugin): for file_path in files: + if not os.path.exists(file_path): + continue + # Remove ignored files if self.isSampleFile(file_path): leftovers.append(file_path)