diff options
| -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 2090d41..8d30b1d 100644 --- a/scrapersources/postliste-oep +++ b/scrapersources/postliste-oep @@ -331,7 +331,7 @@ def remove_original():  # script was slightly broken and filled in non-existing entries in the  # SQL database.  def reparse_strange_entries(datastorage): -    for idref in scraperwiki.sqlite.select("journalPostId FROM swdata WHERE caseid IS NULL order by journalPostId"): +    for idref in scraperwiki.sqlite.select("journalPostId FROM swdata WHERE caseid IS NULL or scrapestamputc IS NULL order by journalPostId"):      	id = idref['journalPostId']          if -1 == fetch_oep_entry(id, datastorage):              print "Refetching %d failed, flush ID" % id  | 
