|
@@ -57,7 +57,7 @@ python do_populate_cve_db() {
|
|
|
break
|
|
|
|
|
|
# Compare with current db last modified date
|
|
|
- c.execute("select DATE from META where YEAR = '%d'" % year)
|
|
|
+ c.execute("select DATE from META where YEAR = ?", (year,))
|
|
|
meta = c.fetchone()
|
|
|
if not meta or meta[0] != last_modified:
|
|
|
# Update db with current year json file
|