Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosribas committed Sep 29, 2023
1 parent 4dcb0dc commit fccc50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/litscan-create-xml-metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main(conn_string, filename, output):
database = line[1]

# get hit_count
cursor.execute("SELECT hit_count FROM litscan_job WHERE job_id=%s", job_id.lower())
cursor.execute("SELECT hit_count FROM litscan_job WHERE job_id='{0}'".format(job_id.lower()))
result = cursor.fetchone()
hit_count = str(result[0]) if result else ""

Expand Down

0 comments on commit fccc50f

Please sign in to comment.