Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aixiu An committed Sep 9, 2024
1 parent 24bda9c commit cabea56
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/text_recognition/text_recognition.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ def read_first_page(self):
return "No text found"
else:
self.logger.error("PDF has no pages")
raise ValueError("PDF has no pages")
raise ValueError("PDF has no pages")



# Ensure that there are two blank lines between top-level functions or classes and exactly one blank line at the end.

0 comments on commit cabea56

Please sign in to comment.