Private GIT

Skip to content
Snippets Groups Projects
Commit af602666 authored by Ruud's avatar Ruud
Browse files

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

parent aed6e4ab
No related branches found
No related tags found
No related merge requests found
...@@ -165,6 +165,9 @@ class Scanner(Plugin): ...@@ -165,6 +165,9 @@ class Scanner(Plugin):
for file_path in files: for file_path in files:
if not os.path.exists(file_path):
continue
# Remove ignored files # Remove ignored files
if self.isSampleFile(file_path): if self.isSampleFile(file_path):
leftovers.append(file_path) leftovers.append(file_path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment