From d896baf6c2b896f61904ee9c8cb035765c81de2a Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 12 May 2011 13:06:20 +0200 Subject: support utf8 strings in api arguments --- src/meetingtools/ac/api.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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"); -- cgit v1.1