Skip to content
Snippets Groups Projects
Commit ede27e0f authored by George Marchment's avatar George Marchment
Browse files

fix

parent 759e20d2
No related branches found
No related tags found
No related merge requests found
Pipeline #13238 passed with stage
in 38 seconds
......@@ -45,7 +45,10 @@ class RO_Crate:
authors = self.workflow.get_authors()
tab_authors = []
for author in authors:
tab_authors.append({"@id":author["@id"], "email":author["email"]})
try:
tab_authors.append({"@id":author["@id"], "email":author["email"]})
except:
tab_authors.append({"@id":author["@id"]})
root["author"] = tab_authors
root["maintainer"] = tab_authors #Right now i'm assuming that all the authors are maintainers
files = self.get_files()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment