diff --git a/__pycache__/custom_file_dialog.cpython-312.pyc b/__pycache__/custom_file_dialog.cpython-312.pyc index a90cddd..fcc7fcc 100644 Binary files a/__pycache__/custom_file_dialog.cpython-312.pyc and b/__pycache__/custom_file_dialog.cpython-312.pyc differ diff --git a/custom_file_dialog.py b/custom_file_dialog.py index cd00182..beb8da9 100644 --- a/custom_file_dialog.py +++ b/custom_file_dialog.py @@ -337,7 +337,7 @@ class CustomFileDialog(tk.Toplevel): if not os.path.exists(search_dir): continue - cmd = ['find', '-L', search_dir, '-iname', f'*{search_term}*'] + cmd = ['find', '.', search_dir, '-iname', f'*{search_term}*'] if not is_recursive: cmd.insert(3, '-maxdepth') cmd.insert(4, '1')