mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-07-25 15:37:45 +00:00
I don't know
This commit is contained in:
parent
8d64312cdf
commit
104203fb3f
1 changed files with 1 additions and 4 deletions
|
@ -163,10 +163,7 @@ class http:
|
||||||
def data(self):
|
def data(self):
|
||||||
#return session headers and auth
|
#return session headers and auth
|
||||||
headers = {**self.session.headers}
|
headers = {**self.session.headers}
|
||||||
if self.auth is not None:
|
return {'headers': headers, 'auth': self.auth}
|
||||||
auth = {'username': self.auth.login, 'token': self.auth.password}
|
|
||||||
auth = None
|
|
||||||
return {'headers': headers, 'auth': auth}
|
|
||||||
|
|
||||||
async def latency(self):
|
async def latency(self):
|
||||||
"""Returns the latency of the current session."""
|
"""Returns the latency of the current session."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue