summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-10-01 14:51:39 +0200
committerLeif Johansson <leifj@sunet.se>2012-10-01 14:51:39 +0200
commit719c1dd840a06723e181d0b0a1370bd6df578b5a (patch)
treef78aebe726254345ac25fb053b5cef04a409e8ba /src
parent89c005ab2cce7a78f53928dbc01281105e6a56fb (diff)
temporarily turn off cert validation - need to fix this later
Diffstat (limited to 'src')
-rw-r--r--src/meetingtools/ac/api.py4
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))