aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2014-12-28 23:32:03 +0100
committerPetter Reinholdtsen <pere@hungry.com>2014-12-28 23:32:03 +0100
commit4155778edb20f9211ea4e262fd06a1ccad1fac08 (patch)
tree2dc433129e14bb99909504585e5c04fc2593dc24
parentd041594aa7aabfd25cc10ada136c51fa4a2ab992 (diff)
Accept problematic pages.
-rw-r--r--scrapersources/postliste-halden4
1 files changed, 2 insertions, 2 deletions
diff --git a/scrapersources/postliste-halden b/scrapersources/postliste-halden
index ca277ca..7cb0345 100644
--- a/scrapersources/postliste-halden
+++ b/scrapersources/postliste-halden
@@ -40,8 +40,8 @@ def process_pdf(parser, pdfurl, errors):
pdfcontent = scraperwiki.scrape(pdfurl)
parser.preprocess(pdfurl, pdfcontent)
pdfcontent = None
-# except ValueError, e:
-# errors.append(e)
+ except ValueError, e:
+ errors.append(e)
except IndexError, e:
errors.append(e)