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:
parent
263598ef4a
commit
ea6b2d1e9e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user