diff --git a/duplicate/utils/fs/common.py b/duplicate/utils/fs/common.py index f06e601..ad6ff63 100644 --- a/duplicate/utils/fs/common.py +++ b/duplicate/utils/fs/common.py @@ -118,7 +118,7 @@ def _scandir(path, onerror, followlinks): if entry.is_file(follow_symlinks=False): files.append(entry) - elif entry.is_dir(followlinks): + elif entry.is_dir(follow_symlinks=followlinks): dirs.append(entry) elif entry.is_file():