mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-30 12:45:14 +00:00
fix it again
This commit is contained in:
parent
b96305f681
commit
8d64312cdf
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +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:
|
if self.auth is not None:
|
||||||
auth = {'username': self.auth.login, 'token': self.auth.password}
|
auth = {'username': self.auth.login, 'token': self.auth.password}
|
||||||
auth = None
|
auth = None
|
||||||
return {'headers': headers, 'auth': auth}
|
return {'headers': headers, 'auth': auth}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue