Skip to content

Commit

Permalink
Promote image section as screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-sgaron committed Sep 20, 2023
1 parent e2c0169 commit 4613cb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions document_preview/document_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def execute(self, request):
else:
self.log.warning(f"Unknown save method for OCR given: {save_ocr_output}")

image_section.promote_as_screenshot()
result.add_section(image_section)
request.result = result
self.log.debug(f"Runtime: {time() - start}s")

0 comments on commit 4613cb4

Please sign in to comment.