summaryrefslogtreecommitdiff
path: root/src/meetingtools/ac
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-02-09 12:04:23 +0100
committerLeif Johansson <leifj@sunet.se>2011-02-09 12:04:23 +0100
commit468d260b6ad144746993d95d810be04915f6fe14 (patch)
tree079bd7406b7ac0bc693bdeaf311c93d675f81cd6 /src/meetingtools/ac
parent18fb871917ea875ed8a66c017947c2678d71f5f1 (diff)
pinsamt
Diffstat (limited to 'src/meetingtools/ac')
-rw-r--r--src/meetingtools/ac/api.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py
index 1ed974b..7397453 100644
--- a/src/meetingtools/ac/api.py
+++ b/src/meetingtools/ac/api.py
@@ -9,6 +9,8 @@ import httplib2
from urllib import quote
import logging
from pprint import pformat
+import os
+import tempfile
class ACPException(Exception):
def __init__(self, value):
@@ -58,7 +60,7 @@ class ACPClient():
u.append(kv)
url = url + "&" + "&".join(u)
- h = httplib2.Http(".cache");
+ h = httplib2.Http(tempfile.gettempdir()+os.sep+".cache");
logging.debug(url)
resp, content = h.request(url, "GET")
logging.debug(pformat(resp))