🐛 fix webdav

This commit is contained in:
微凉
2022-01-29 18:36:22 +08:00
parent f25b557327
commit 2434ac54d0
2 changed files with 2 additions and 9 deletions

View File

@ -46,7 +46,7 @@ func (h *Handler) stripPrefix(p string) (string, int, error) {
func isPathExist(ctx context.Context, fs *FileSystem, path string) (bool, FileInfo) {
file, err := fs.File(path)
if err != nil {
log.Debug(path, err)
log.Debugln(path, err)
return false, nil
}
return true, file