fixup! feat: add temp client for bilibili

fix bug
This commit is contained in:
felinae98 2022-10-03 22:27:56 +08:00
parent 6851bb5765
commit 98a5ae6b4c
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -29,7 +29,7 @@ class _BilibiliClient:
async def _refresh_client(self):
if (
self._client_refresh_time is None
getattr(self, "_client_refresh_time", None) is None
or datetime.now() - self._client_refresh_time > self.cookie_expire_time
or self._http_client is None
):