mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Add missing space
This commit is contained in:
+1
-1
@@ -338,7 +338,7 @@ class Requester:
|
||||
headers = {}
|
||||
if url.username and url.password:
|
||||
auth = '%s:%s' % (url.username, url.password)
|
||||
if atLeastPython3 and isinstance(auth,str):
|
||||
if atLeastPython3 and isinstance(auth, str):
|
||||
headers['Proxy-Authorization'] = 'Basic ' + base64.b64encode(auth.encode()).decode()
|
||||
else:
|
||||
headers['Proxy-Authorization'] = 'Basic ' + base64.b64encode(auth)
|
||||
|
||||
Reference in New Issue
Block a user