From 468d260b6ad144746993d95d810be04915f6fe14 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 12:04:23 +0100 Subject: pinsamt --- src/meetingtools/ac/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- cgit v1.1