diff --git a/src/runner.py b/src/runner.py index 07d38e9..744da0e 100644 --- a/src/runner.py +++ b/src/runner.py @@ -132,6 +132,8 @@ def _resolve(self, filepath: str) -> Optional[Path]: files = self._organizer.findFiles(path.parent.as_posix(), path.name) if files: path = Path(files[0]) + else: + path = None return path