mirror of
https://github.com/kanzure/pdfparanoia.git
synced 2025-07-15 14:08:21 +02:00
fix another syntax error in sciencemag
How were these missed??
This commit is contained in:
parent
cc7d14d173
commit
28bf8f5825
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class ScienceMagazine(Plugin):
|
||||||
obj = pdf.getobj(objid)
|
obj = pdf.getobj(objid)
|
||||||
|
|
||||||
if hasattr(obj, "attrs"):
|
if hasattr(obj, "attrs"):
|
||||||
if "Width" in obj.attrs) and str(obj.attrs["Width"]) == "432":
|
if ("Width" in obj.attrs) and str(obj.attrs["Width"]) == "432":
|
||||||
if "Height" in obj.attrs and str(obj.attrs["Height"]) == "230":
|
if "Height" in obj.attrs and str(obj.attrs["Height"]) == "230":
|
||||||
evil_ids.append(objid)
|
evil_ids.append(objid)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue