Testing expires in client
This commit is contained in:
@@ -51,8 +51,6 @@ class Client():
|
||||
raise HttpClientException(response.reason, response.status)
|
||||
|
||||
async def get_auth_headers(self):
|
||||
if self.expires is not None:
|
||||
logger.trace("DATE COMP: " + str(self.expires <= datetime.now()))
|
||||
if self.expires is None or self.expires <= datetime.now():
|
||||
await self.get_jwt_token()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user