From e1bc9590c6349a025cb0c79948b320fd9e36bed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Sun, 8 Nov 2020 23:20:28 +0100 Subject: [PATCH] Fix dataFileExists(). --- src/runner.py | 2 ++ 1 file changed, 2 insertions(+) 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