More debug messages on repair; update notes
This commit is contained in:
@@ -728,7 +728,6 @@ class PdfInfo:
|
||||
else:
|
||||
self._toc = []
|
||||
|
||||
|
||||
@property
|
||||
def pages(self):
|
||||
return self._pages
|
||||
|
||||
@@ -212,7 +212,10 @@ def repair_pdf(
|
||||
log,
|
||||
context):
|
||||
options = context.get_options()
|
||||
log.debug("Beginning qpdf repair...")
|
||||
qpdf.repair(input_file, output_file, log)
|
||||
|
||||
log.debug("Repair OK; beginning parse...")
|
||||
pdfinfo = PdfInfo(output_file)
|
||||
|
||||
if pdfinfo.has_userunit and options.output_type == 'pdfa':
|
||||
|
||||
Reference in New Issue
Block a user