From 104203fb3f38b377a6dc86a793064bda88827629 Mon Sep 17 00:00:00 2001 From: VarMonke Date: Wed, 27 Apr 2022 17:09:03 +0530 Subject: [PATCH] I don't know --- Github/http.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Github/http.py b/Github/http.py index bc12114..84528a0 100644 --- a/Github/http.py +++ b/Github/http.py @@ -163,10 +163,7 @@ class http: def data(self): #return session headers and auth headers = {**self.session.headers} - if self.auth is not None: - auth = {'username': self.auth.login, 'token': self.auth.password} - auth = None - return {'headers': headers, 'auth': auth} + return {'headers': headers, 'auth': self.auth} async def latency(self): """Returns the latency of the current session."""