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

Bare strings not a valid parameter to scraperwiki.sqlite.select #10

Closed scraperdragon closed 11 years ago

scraperdragon commented 11 years ago

Related to #7 -

scraperwiki.sqlite.select('* from sqlite_master where tbl_name=?',url) works on classic but not boxes.

Boxes expect a list, and interpret the string as an iterable.

Work around: add [ ] around the single parameter.

scraperdragon commented 11 years ago

I'm sure this was an issue last night, but I can't replicate it now. :(

pwaller commented 11 years ago

Closing because it's ancient. Please comment or re-open if you encounter this problem.

@scraperdragon