Skip to content

Commit

Permalink
Add comment re: reportlab shim
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow83 committed Sep 21, 2023
1 parent fde886b commit 7d33039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ocrmypdf/hocrtransform.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

with warnings.catch_warnings():
# reportlab uses deprecated load_module
# shim can be removed when we require reportlab >= 3.7
warnings.filterwarnings(
'ignore', category=DeprecationWarning, message=r".*load_module.*"
)
Expand Down

0 comments on commit 7d33039

Please sign in to comment.