markup/pdf.py: print ignored annotations
This commit is contained in:
@ -178,7 +178,8 @@ def parse_pdf(fname, workdir, debug=0):
|
|||||||
elif 'ProCatName' in anno:
|
elif 'ProCatName' in anno:
|
||||||
prod_boxes.append(make_product_box(anno, pagenum, mediabox))
|
prod_boxes.append(make_product_box(anno, pagenum, mediabox))
|
||||||
else:
|
else:
|
||||||
print('ignoring other annotation')
|
print('ignoring other annotation:')
|
||||||
|
print(anno)
|
||||||
|
|
||||||
fp.close()
|
fp.close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user