add a line to debug #68

This commit is contained in:
piotr 2022-11-18 01:40:50 +01:00
parent 2058f124fd
commit f399f589fb

View File

@ -434,6 +434,7 @@ func searchUserDir(dir string) {
fileSearchResultFlowBox.Add(btn)
for _, path := range fileSearchResults {
log.Debugf("Path: %s", path)
partOfPathToShow := strings.Split(path, userDirsMap[dir])[1]
if partOfPathToShow != "" {
if !(strings.HasPrefix(path, "#is_dir#") && isExcluded(path)) {