Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #263 from MSusik/orcidpush
Browse files Browse the repository at this point in the history
webauthorprofile: fix query escaping
  • Loading branch information
kaplun committed Aug 31, 2015
2 parents 05c2209 + 9938398 commit 6da1c1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def get_orcid_pubs(person_id):

orcid_pubs = dict()
for doi, title in orcid_dois:
queried_doi = run_sql('SELECT value from bib02x where tag="0247_a" and value="%s"', (doi,))
queried_doi = run_sql('SELECT value from bib02x where tag="0247_a" and value=%s', (doi,))
if not queried_doi:
# The paper is not available in Inspire
orcid_pubs[doi] = title
Expand Down

0 comments on commit 6da1c1e

Please sign in to comment.