Skip to content

Commit

Permalink
fix: html_to_markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
thorwhalen committed Jun 7, 2024
1 parent 31ff233 commit 2d16111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdfdol/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def read_html_file(filepath):
htmls = [htmls]
elif Path(htmls).is_dir():
# Recursively find all HTML files in the directory
htmls = filter(key_filt, Path(htmls).listdir())
htmls = filter(key_filt, Path(htmls).iterdir())
else:
htmls = [htmls]
if not isinstance(htmls, Iterable):
Expand Down

0 comments on commit 2d16111

Please sign in to comment.