Skip to content

Commit

Permalink
Update entity_handler_dataverse.R
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel authored Mar 9, 2023
1 parent 20333a2 commit a4bb59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/metadata/entity/entity_handler_dataverse.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ handle_entities_dataverse <- function(config, source, handle = TRUE){

#license / terms of use
rights <- geoflow::geoflow_right$new()
if(ds$termsOfUse == "license") {
if(!is.null(ds$termsOfUse)) if(ds$termsOfUse == "license") {
rights$setKey("useConstraint")
rights$setValues(ds$termsOfUse)
if(!is.null(ds$license)) if(ds$license != "NONE") {
Expand Down

0 comments on commit a4bb59c

Please sign in to comment.