Commit 1372a1ec authored by Łukasz Nowak's avatar Łukasz Nowak

Typo.

parent f9af0ac7
......@@ -85,9 +85,9 @@ def Facebook_checkUserExistence(self):
url = urlparse.urlsplit(self.portal_preferences.getPreferredVifibRestApiLoginCheck())
connection_kw = {'host': url.netloc, 'timeout': 5}
if url.scheme == 'http':
connection = httplib.HTTPConnection(connection_kw)
connection = httplib.HTTPConnection(**connection_kw)
else:
connection = httplib.HTTPSConnection(connection_kw)
connection = httplib.HTTPSConnection(**connection_kw)
connection.request('GET', url.path, headers = {
'Authorization' : 'Facebook %s' % access_token,
'Accept': 'application/json'})
......
387
\ No newline at end of file
388
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment