commit aa4582c4cbed07fdf5a608a0f14b70348e5e8308
parent 45835f826d85d453af9fa86b1db4f4b34078e63d
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 18 Jan 2022 20:17:03 +0100
fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/adddoi b/adddoi
@@ -130,7 +130,7 @@ if __name__ == '__main__':
template+="Now: {after}/{total} entries have DOI "
template+="and {after_url}/{total} entries have URL\n"
- print(template.format(new=new,before=before,after=before+new,before_url=before_url,after_url=before_url+new_url,total=total))
+ print(template.format(new=new,new_url=new_url,before=before,after=before+new,before_url=before_url,after_url=before_url+new_url,total=total))
outfile = sys.argv[1]+"_doi.bib"
print("Writing result to ",outfile)
writer = BibTexWriter()