aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scrapersources/postliste-oep2
1 files changed, 1 insertions, 1 deletions
diff --git a/scrapersources/postliste-oep b/scrapersources/postliste-oep
index 429a265..47ab693 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(strage1):
+ for idref in scraperwiki.sqlite.select(strage):
id = idref['journalPostId']
if -1 == fetch_oep_entry(id, datastorage):
print "Refetching %d failed, flush ID" % id