From 8d64312cdfa08e4060b23645666a7e6d0756b052 Mon Sep 17 00:00:00 2001 From: VarMonke Date: Wed, 27 Apr 2022 17:06:32 +0530 Subject: [PATCH] fix it again --- Github/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Github/http.py b/Github/http.py index 740f7a1..bc12114 100644 --- a/Github/http.py +++ b/Github/http.py @@ -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}