diff options
author | Leif Johansson <leifj@sunet.se> | 2011-02-09 12:04:23 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-02-09 12:04:23 +0100 |
commit | 468d260b6ad144746993d95d810be04915f6fe14 (patch) | |
tree | 079bd7406b7ac0bc693bdeaf311c93d675f81cd6 /src/meetingtools | |
parent | 18fb871917ea875ed8a66c017947c2678d71f5f1 (diff) |
pinsamt
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/ac/api.py | 4 |
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)) |