Testing expires in client

This commit is contained in:
2025-10-30 09:53:38 +01:00
parent 15de00fae5
commit 7f91f330ac
2 changed files with 24 additions and 2 deletions

View File

@@ -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()