We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1e5a10 commit 6929d3dCopy full SHA for 6929d3d
pymyq/api.py
@@ -197,9 +197,10 @@ async def request(
197
authentication_task = await self.authenticate(wait=False)
198
if authentication_task.done():
199
_LOGGER.debug("Scheduled token refresh completed, ensuring no exception.")
200
+ self._authentication_task = None
201
try:
202
# Get the result so any exception is raised.
- self._authentication_task.result()
203
+ authentication_task.result()
204
except asyncio.CancelledError:
205
pass
206
except (RequestError, AuthenticationError) as auth_err:
0 commit comments