diff --git a/mglib/pdfinfo.py b/mglib/pdfinfo.py index 6b4c1f5..ef82c6b 100644 --- a/mglib/pdfinfo.py +++ b/mglib/pdfinfo.py @@ -75,7 +75,7 @@ def get_pagecount(filepath): if mime_type == 'image/tiff': return get_tiff_pagecount(filepath) - if mime_type != 'application/pdf' : + if mime_type != 'application/pdf': raise FileTypeNotSupported( "Only jpeg, png, pdf and tiff are handled by this" " method"