Skip to content

Commit

Permalink
fix #118
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Mar 28, 2023
1 parent b78dca1 commit 41c14a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ZenodoManager.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ ZenodoManager <- R6Class("ZenodoManager",
initialize = function(url = "https://zenodo.org/api", token = zenodo_pat(), sandbox = FALSE, logger = NULL,
keyring_backend = 'env'){
super$initialize(logger = logger)
private$url = url
if(sandbox) url = "https://sandbox.zenodo.org/api"
private$url = url
if(url == "https://sandbox.zenodo.org/api") private$sandbox = TRUE
if(!is.null(token)) if(nzchar(token)){
if(!keyring_backend %in% names(keyring:::known_backends)){
Expand Down

0 comments on commit 41c14a9

Please sign in to comment.