file-browser: let the user decide on minimal scanner timeout

This commit is contained in:
tom roth 2015-07-06 15:26:06 +02:00
parent 81af757b09
commit b51e2862d1

View File

@ -199,7 +199,7 @@ def find_mtimes(root, follow=False):
def is_local_path_inside_base_dir(local_path, base_path):
if local_path.endswith(os.sep):
raise ValueError('Local path %s cannot end with a path separator'
% local_path)
% local_path)
# Expand symlinks
real_base_path = os.path.realpath(base_path)
real_local_path = os.path.realpath(local_path)