Formatting

pull/6/head
francesco.carzaniga 2020-11-27 19:26:57 +01:00
parent 0b80c1f446
commit ae93586a37
1 changed files with 1 additions and 1 deletions

View File

@ -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"