Add missing space

This commit is contained in:
Jared K. Smith
2016-08-30 06:17:22 -04:00
parent d015154c98
commit 464259da91
+1 -1
View File
@@ -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)