We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0da6058 commit 6abdfb2Copy full SHA for 6abdfb2
src/htmlcmp/tidy_output.py
@@ -59,7 +59,7 @@ def tidy_dir(path, level=0, prefix="", html_tidy_config=None):
59
"error": [],
60
}
61
62
- items = [path / name for name in path.iterdir()]
+ items = [p for p in path.iterdir()]
63
files = sorted([path for path in items if path.is_file() and tidyable_file(path)])
64
dirs = sorted([path for path in items if path.is_dir()])
65
0 commit comments