summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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))