Skip to content

Commit

Permalink
Fix the wikiname column (' ' instead of '_')
Browse files Browse the repository at this point in the history
  • Loading branch information
mhl committed Sep 15, 2016
1 parent 80cdd0b commit e27ee9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
if row['wikipedia_url']:
split = urlsplit(row['wikipedia_url'])
wikiname = split.path[len('/wiki/'):]
wikiname.replace('_', ' ')
wikiname = wikiname.replace('_', ' ')
scraperwiki.sqlite.save(
unique_keys=['id'],
data={
Expand Down

0 comments on commit e27ee9d

Please sign in to comment.