Check if file exists before adding it to movie_files. fixes #146

This commit is contained in:
Ruud committed 2012-04-27 11:18:43 +02:00
1 parent aed6e4ab06
commit af60266662
1 file changed
+3
+3
View File
@@ -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)