Commit f008ef37 authored by Mattia Bondanza's avatar Mattia Bondanza

Solved a bug for some strange PDF...

parent d13e292b
from bindinghelper import *
from PyPDF2 import PdfFileReader, PdfFileWriter
......@@ -61,7 +62,7 @@ if infile[ len(infile) - 4 : len( infile ) ] != '.pdf':
#Prova ad aprire il file di input
book = PdfFileReader( infile )
book = PdfFileReader( infile, strict=False )
print 'Non e\' stato possibile aprire il file di input specificato, controlla l\'indirizzo e i permessi',
print 'di accesso al file.'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment