From: Alexander Schmidt Date: Mon, 26 Oct 2020 22:45:15 +0000 (+0100) Subject: add missing arguments X-Git-Url: http://git.treefish.org/~alex/photosort.git/commitdiff_plain/4ff31898a4b6230a0d68f98a11e8cd19e361c162?ds=sidebyside add missing arguments --- diff --git a/src/locator.py b/src/locator.py index ff74e0c..c19bd6c 100644 --- a/src/locator.py +++ b/src/locator.py @@ -30,7 +30,8 @@ class Locator: else: self._remove_from_cache(name, size, meta_time) else: - file_dir = misc.find_file(name, size, meta_time) + file_dir = misc.find_file(self._base_dir, name, size, meta_time, + self._exclude_dir) if file_dir: self._clean_cache() self._add_to_cache(name, size, meta_time, file_dir)