diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-07-30 20:50:38 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-07-30 20:50:38 -0700 |
commit | 0dbb6a1f02d9bce67af16339288128ce04b97eaf (patch) | |
tree | 220b2a1a8abc7cc2a20a456b015fc7a1a436dc5f /chocula.py | |
parent | c47acaee8a339f358c5f39bcbc99ee1519811a93 (diff) | |
download | chocula-0dbb6a1f02d9bce67af16339288128ce04b97eaf.tar.gz chocula-0dbb6a1f02d9bce67af16339288128ce04b97eaf.zip |
chocula: fix wikidata_qid inclusion
Diffstat (limited to 'chocula.py')
-rwxr-xr-x | chocula.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1100,6 +1100,8 @@ class ChoculaDatabase(): if irow['slug'] in ('crossref',): out['has_dois'] = True # TODO: other DOI registrars (japan, datacite) + if irow['slug'] == 'wikidata': + out['wikidata_qid'] = irow['identifier'] for k in ('name',): if not out.get(k) and irow[k]: out[k] = irow[k] |