Skip to content

Commit 6abdfb2

Browse files
committed
try fix tidy
1 parent 0da6058 commit 6abdfb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/htmlcmp/tidy_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def tidy_dir(path, level=0, prefix="", html_tidy_config=None):
5959
"error": [],
6060
}
6161

62-
items = [path / name for name in path.iterdir()]
62+
items = [p for p in path.iterdir()]
6363
files = sorted([path for path in items if path.is_file() and tidyable_file(path)])
6464
dirs = sorted([path for path in items if path.is_dir()])
6565

0 commit comments

Comments
 (0)