Skip to content

Commit

Permalink
Update download.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CecSve committed May 24, 2023
1 parent 93b3884 commit 6dfc331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygbif/occurrences/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def download(queries, format = "SIMPLE_CSV", user=None, pwd=None, email=None, pr
pwd = _check_environ("GBIF_PWD", pwd)
email = _check_environ("GBIF_EMAIL", email)

# if it is a dictionary then use directly as a query otherwise if it is a string turn it into a list
# if it is a dictionary then use directly as a query, otherwise if it is a string turn it into a list
req = GbifDownload(user, email)
req.format = format

Expand Down

0 comments on commit 6dfc331

Please sign in to comment.