sensiblecodeio / scraperwiki-python

ScraperWiki Python library for scraping and saving data
https://scraperwiki.com
BSD 2-Clause "Simplified" License
160 stars 69 forks source link

Fix broken strings on Python 2.7 #85

Closed pwaller closed 9 years ago

pwaller commented 9 years ago

In 2.7, bytes is equal to str, so if you saved a string to a database you would end up with a BLOB column. This breaks dumptruck and the view-in-the-table tool, among other things.