Merge pull request #34 from kanzure/fixsciencemag

Fix another syntax error in sciencemag
This commit is contained in:
Bryan Bishop 2013-09-16 13:12:37 -07:00
commit e9e0ea4467
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class ScienceMagazine(Plugin):
obj = pdf.getobj(objid)
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":
evil_ids.append(objid)