Skip to content

Commit

Permalink
Pre-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldgray committed Dec 1, 2023
1 parent 88be1bf commit e16bb1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/ambv/black
- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
Expand Down
3 changes: 2 additions & 1 deletion src/app/engine/rasterizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

from django.conf import settings
from pdf2image import convert_from_path
from PIL import Image
from PIL import Image

Image.MAX_IMAGE_PIXELS = 1000000000


class PdfRasterizer:
def __init__(self):
self._dpi = settings.PDF_RASTERIZER["dpi"]
Expand Down

0 comments on commit e16bb1b

Please sign in to comment.