diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2016-04-06 14:07:37 +0200 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2016-04-06 14:07:37 +0200 |
commit | eb5ba80453f40bba9119f7a3c626fca133535dc9 (patch) | |
tree | 777cd912d928eb822b8e881ee75cec22b06ac7d2 | |
parent | 24597fedc2c3acfc5e1d95ea8713f5e9964bec5e (diff) |
Gah, another typo.
-rw-r--r-- | scrapersources/postliste-oep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scrapersources/postliste-oep b/scrapersources/postliste-oep index 47ab693..4de35d4 100644 --- a/scrapersources/postliste-oep +++ b/scrapersources/postliste-oep @@ -340,7 +340,7 @@ def remove_original(): # SQL database. def reparse_strange_entries(datastorage): strange = "journalPostId FROM swdata WHERE caseid IS NULL OR scrapestamputc IS NULL OR agency IS NULL order by journalPostId" - for idref in scraperwiki.sqlite.select(strage): + for idref in scraperwiki.sqlite.select(strange): id = idref['journalPostId'] if -1 == fetch_oep_entry(id, datastorage): print "Refetching %d failed, flush ID" % id |