From ae93586a3780d92614c8f39c90735cb29b3673dd Mon Sep 17 00:00:00 2001 From: "francesco.carzaniga" Date: Fri, 27 Nov 2020 19:26:57 +0100 Subject: [PATCH] Formatting --- mglib/pdfinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"