From 719c1dd840a06723e181d0b0a1370bd6df578b5a Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 1 Oct 2012 14:51:39 +0200 Subject: temporarily turn off cert validation - need to fix this later --- src/meetingtools/ac/api.py | 4 ++-- 1 file 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)) -- cgit v1.1