Skip to content

Commit

Permalink
Update caching.py
Browse files Browse the repository at this point in the history
removed the extra parentheses
  • Loading branch information
CecSve committed Mar 6, 2024
1 parent 798a715 commit 12ab1df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygbif/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def caching(
requests_cache.install_cache(
cache_name=CACHE_NAME, backend=backend, expire_after=expire_after
)
requests_cache.delete(expired=True)()
requests_cache.delete(expired=True)

cache_settings = {
"cache": cache,
Expand All @@ -93,4 +93,4 @@ def caching(
"allowable_codes": allowable_codes,
"allowable_methods": allowable_methods,
}
return cache_settings
return cache_settings

0 comments on commit 12ab1df

Please sign in to comment.