Use callback_permission_denied=do_nothing.

This commit is contained in:
voussoir 2021-12-21 16:59:39 -08:00
parent 663e658286
commit 7dff1f24c0
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -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,
) )