Browse Source

FIX select all directories

boyska 3 years ago
parent
commit
ee445f5fd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      luxembook/gui.py

+ 1 - 1
luxembook/gui.py

@@ -87,7 +87,7 @@ class MyWindow(Gtk.Window):
         dirpath = os.path.dirname(path).lower()
         tags = json.loads(tags)
         if self.filter_marks_dir:
-            if not path.startswith(self.filter_marks_dir + "/"):
+            if not any(path.startswith(dir + "/") for dir in self.filter_marks_dir):
                 return False
         for query in text.split():
             if not any(