fix bug
This commit is contained in:
parent
a3a6ea1d9f
commit
b9d0e00634
1 changed files with 1 additions and 1 deletions
|
@ -177,10 +177,10 @@ def json_to_paper(filename: str, jsonObj: dict) -> dict:
|
||||||
i = 0
|
i = 0
|
||||||
references = []
|
references = []
|
||||||
for key, value in getProp(jsonObj, "bib_entries", {}).items():
|
for key, value in getProp(jsonObj, "bib_entries", {}).items():
|
||||||
i += 1
|
|
||||||
if value is None:
|
if value is None:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
i += 1
|
||||||
ref = {
|
ref = {
|
||||||
"referenceNumber": i,
|
"referenceNumber": i,
|
||||||
"doi": getProp(value, "doi"),
|
"doi": getProp(value, "doi"),
|
||||||
|
|
Reference in a new issue