hakai_api 1.4.0__tar.gz → 1.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hakai_api
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: Get Hakai database resources using http calls
5
5
  Home-page: https://github.com/HakaiInstitute/hakai-api-client-python
6
6
  Author: Taylor Denouden
@@ -105,9 +105,9 @@ class Client(OAuth2Session):
105
105
  )
106
106
  ) # utc timestamp
107
107
 
108
- if now > expires_at:
109
- os.remove(cls._credentials_file)
110
- return False
108
+ if now > expires_at:
109
+ cls.reset_credentials()
110
+ return False
111
111
 
112
112
  return True
113
113
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hakai-api
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: Get Hakai database resources using http calls
5
5
  Home-page: https://github.com/HakaiInstitute/hakai-api-client-python
6
6
  Author: Taylor Denouden
File without changes
File without changes
File without changes