Skip to content

Commit

Permalink
try storing it
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBorra committed Aug 27, 2015
1 parent 4e212a6 commit b4ff642
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scraper.py
Expand Up @@ -7,9 +7,9 @@
def add_location(continent, country, city, db):
print("%s\t%s\t%s"%(continent,country,city))
db.append({
u'continent': continent,
u'country': country,
u'city': city
'continent': continent.decode('utf-8'),
'country': country.decode('utf-8'),
'city': city.decode('utf-8')
})

# parse table for locations
Expand Down

0 comments on commit b4ff642

Please sign in to comment.