Fix license field being wrapped in tuple due to trailing comma
All checks were successful
Test pipeline / test (push) Successful in 16s
All checks were successful
Test pipeline / test (push) Successful in 16s
Remove trailing comma after license dictionary assignment that was causing the license field to be stored as a single-element tuple instead of a plain dictionary object.
This commit is contained in:
parent
eb270cba9b
commit
01bc537bd8
1 changed files with 1 additions and 1 deletions
|
@ -1417,7 +1417,7 @@ class MetadataProcessor:
|
|||
return_dict["datasetVersion"]["license"] = {
|
||||
"name": license_info.name,
|
||||
"uri": license_info.uri
|
||||
},
|
||||
}
|
||||
else:
|
||||
return_dict["datasetVersion"]["termsOfUse"] = f"All rights reserved. Copyright © {self._get_publication_year(data)}, [TODO: Insert copyright holder here!]"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue