Commit 100df53e authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update invenio_tools/factory/add_conference_data to add a protection

parent 413ccf8f
......@@ -94,7 +94,7 @@ def add_conference_data(recjson):
if "aleph_linking_page" in recjson:
di = recjson["aleph_linking_page"]
conf_id = di["sysno"]
conf_key = di["up_link"]
conf_key = di.get("up_link", None)
host = "cds.cern.ch"
elif "publication_info" in recjson:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment