Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Commit

Permalink
fix #106 (closes #107)
Browse files Browse the repository at this point in the history
  • Loading branch information
leeper committed Feb 10, 2016
1 parent f0fa340 commit 3a3f962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: MTurkR
Version: 0.6.22
Date: 2016-02-09
Version: 0.6.23
Date: 2016-02-10
Title: R Client for the MTurk Requester API
Authors@R: c(person("Thomas J.", "Leeper", role = c("aut", "cre"),
email = "[email protected]"),
Expand Down
2 changes: 1 addition & 1 deletion R/request.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function(operation, GETparameters = NULL,
} else {
host <- "https://mechanicalturk.amazonaws.com/"
}
if(is.null(keypair) | keypair == "" | identical(keypair, c("", ""))) {
if(is.null(keypair) || identical(keypair, c("", "")) || keypair == "") {
g <- getOption("MTurkR.keypair")
if (!is.null(g)) {
keypair <- g
Expand Down

0 comments on commit 3a3f962

Please sign in to comment.