]> git.treefish.org Git - photosort.git/commitdiff
add missing arguments
authorAlexander Schmidt <alex@treefish.org>
Mon, 26 Oct 2020 22:45:15 +0000 (23:45 +0100)
committerAlexander Schmidt <alex@treefish.org>
Mon, 26 Oct 2020 22:45:15 +0000 (23:45 +0100)
src/locator.py

index ff74e0c8d894adf43e3fd11e4513943333db7a75..c19bd6c926d925689f0c5ba447d61ab3cb29f526 100644 (file)
@@ -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)