diff options
author | Leif Johansson <leifj@sunet.se> | 2012-10-01 14:51:39 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-10-01 14:51:39 +0200 |
commit | 719c1dd840a06723e181d0b0a1370bd6df578b5a (patch) | |
tree | f78aebe726254345ac25fb053b5cef04a409e8ba /src/meetingtools/ac | |
parent | 89c005ab2cce7a78f53928dbc01281105e6a56fb (diff) |
temporarily turn off cert validation - need to fix this later
Diffstat (limited to 'src/meetingtools/ac')
-rw-r--r-- | src/meetingtools/ac/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 67b8fca..f2a7fb2 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -91,7 +91,7 @@ class ACPClient(): def request(self,method,p={},raise_error=False): self.age += 1 self.lastused = time.time() - u = [] + u = list() u.append("action=%s" % method) if self.session: u.append("session=%s" % self.session) @@ -103,7 +103,7 @@ class ACPClient(): url = self.url + '?' + '&'.join(u) - h = httplib2.Http(tempfile.gettempdir()+os.sep+".cache"); + h = httplib2.Http(tempfile.gettempdir()+os.sep+".cache",disable_ssl_certificate_validation=True); logging.debug(url) resp, content = h.request(url, "GET") logging.debug(pformat(resp)) |