Fixed a SQLite query bug

git-svn-id: http://comictagger.googlecode.com/svn/trunk@57 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2012-11-18 05:36:19 +00:00
parent 263598ef4a
commit ea6b2d1e9e

View File

@ -91,7 +91,7 @@ class ComicVineCacher:
cur = con.cursor()
# remove all previous entries with this search term
cur.execute("DELETE FROM VolumeSearchCache WHERE search_term = '{0}'".format(search_term.lower()))
cur.execute("DELETE FROM VolumeSearchCache WHERE search_term = ?", [ search_term.lower() ])
# now add in new results
for record in cv_search_results: