Skip to content

Commit

Permalink
fix: fix undefined func in ocr.py
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Oct 3, 2023
1 parent 3f885c2 commit ff5eaa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfoodfacts/ocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def get_words_from_indices(
def pprint(self):
"""Pretty print the full text annotation, if it is not null."""
if self.full_text_annotation:
print(self._generate_pretty_print_string())
print(self.full_text_annotation._generate_pretty_print_string())
else:
print("No full text annotation available")

Expand Down

0 comments on commit ff5eaa2

Please sign in to comment.