Use callback_permission_denied=do_nothing.
This commit is contained in:
parent
663e658286
commit
7dff1f24c0
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ def search(
|
||||||
if text is None:
|
if text is None:
|
||||||
search_objects = spinal.walk(
|
search_objects = spinal.walk(
|
||||||
root_path,
|
root_path,
|
||||||
|
callback_permission_denied=spinal.do_nothing,
|
||||||
recurse=not local_only,
|
recurse=not local_only,
|
||||||
yield_directories=True,
|
yield_directories=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue