Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbradshaw committed Apr 5, 2017
1 parent 0be9d4e commit 53e9443
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scraper.py
Expand Up @@ -72,9 +72,9 @@
scraperwiki.sqlite.save(["id"], record, table_name=sheetnum)
#some cells don't have a number, but a dash
#they generate the error: (exceptions.ValueError) could not convert string to float
else:
print "EMPTY ROW?"
try:
scraperwiki.sqlite.save(["id"], record, table_name=sheetnum)
except:
print "BLANK ROW?"
#else:
# print "EMPTY ROW?"
#try:
# scraperwiki.sqlite.save(["id"], record, table_name=sheetnum)
#except:
# print "BLANK ROW?"

0 comments on commit 53e9443

Please sign in to comment.