mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-15 08:09:04 +00:00
Basic searching
This commit is contained in:
@@ -132,8 +132,9 @@ class TaskManager:
|
||||
|
||||
def execute_thumbnails(self, directory: Directory, total_files: Value, counter: Value, done: Value):
|
||||
|
||||
dest_path = os.path.join("thumbnails", str(directory.id))
|
||||
shutil.rmtree(dest_path)
|
||||
dest_path = os.path.join("static/thumbnails", str(directory.id))
|
||||
if os.path.exists(dest_path):
|
||||
shutil.rmtree(dest_path)
|
||||
|
||||
docs = list(Search("changeme").get_all_documents(directory.id))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user