Skip to content

Commit

Permalink
Fix issue when single_file is True and thread_count is greater than 1
Browse files Browse the repository at this point in the history
  • Loading branch information
NYF-BRICK committed Jan 7, 2024
1 parent e8a9235 commit 9191787
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdf2image/pdf2image.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def convert_from_path(
):
if single_file:
output_file = iter([output_file])
thread_count = 1
else:
output_file = counter_generator(output_file)

Expand Down

0 comments on commit 9191787

Please sign in to comment.