1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-05-28 11:45:10 +00:00

fix it again

This commit is contained in:
VarMonke 2022-04-27 17:06:32 +05:30
parent b96305f681
commit 8d64312cdf

View file

@ -163,7 +163,7 @@ class http:
def data(self):
#return session headers and auth
headers = {**self.session.headers}
if self.auth:
if self.auth is not None:
auth = {'username': self.auth.login, 'token': self.auth.password}
auth = None
return {'headers': headers, 'auth': auth}