mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-12-22 10:45:31 +00:00
Fix checks
This commit is contained in:
parent
c4e8038652
commit
e225a850bc
|
@ -4,6 +4,6 @@ disable=missing-docstring
|
||||||
|
|
||||||
[FORMAT]
|
[FORMAT]
|
||||||
|
|
||||||
max-args=6
|
max-args=7
|
||||||
max-attributes=8
|
max-attributes=8
|
||||||
max-line-length=88
|
max-line-length=88
|
||||||
|
|
|
@ -264,7 +264,7 @@ class HonAuth:
|
||||||
except exceptions.HonNoAuthenticationNeeded:
|
except exceptions.HonNoAuthenticationNeeded:
|
||||||
return
|
return
|
||||||
|
|
||||||
async def refresh(self, refresh_token="") -> bool:
|
async def refresh(self, refresh_token: str = "") -> bool:
|
||||||
if refresh_token:
|
if refresh_token:
|
||||||
self._auth.refresh_token = refresh_token
|
self._auth.refresh_token = refresh_token
|
||||||
params = {
|
params = {
|
||||||
|
|
Loading…
Reference in a new issue