summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-12 13:06:20 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-12 13:06:20 +0200
commitd896baf6c2b896f61904ee9c8cb035765c81de2a (patch)
tree5cb0356463183d71e111bdef938f52f14fe94fa5 /src/meetingtools
parent6166845ecb20a140eb1590bc19841af710b76b95 (diff)
support utf8 strings in api arguments
Diffstat (limited to 'src/meetingtools')
-rw-r--r--src/meetingtools/ac/api.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py
index 0ecc9eb..cd03730 100644
--- a/src/meetingtools/ac/api.py
+++ b/src/meetingtools/ac/api.py
@@ -77,6 +77,9 @@ class ACPClient():
p['session'] = self.session
p['action'] = method
+ for k,v in p.items():
+ p[k] = ("%s" % v).encode('utf-8')
+
url = self.url + '?' + urlencode(p)
h = httplib2.Http(tempfile.gettempdir()+os.sep+".cache");