Skip to content

Commit

Permalink
fixing some things
Browse files Browse the repository at this point in the history
  • Loading branch information
John Waller committed Apr 19, 2024
1 parent dab8cb6 commit 1e1ee38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pygbif/occurrences/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def download(
req.format = format

if is_not_none(verbatim_extensions):
req.verbatim_extensions = verbatim_extensions
req.payload["verbatimExtensions"] = verbatim_extensions

if isinstance(queries, dict):
req.predicate = queries
Expand Down Expand Up @@ -318,8 +318,6 @@ def __init__(self, creator, email, polygon=None):
"format": self._format,
}
self.request_id = None
if is_not_none(self.verbatim_extensions):
self.payload["verbatimExtensions"] = self.verbatim_extensions

# prepare the geometry polygon constructions
if polygon:
Expand Down

0 comments on commit 1e1ee38

Please sign in to comment.