summaryrefslogtreecommitdiff
path: root/src/meetingtools/ac/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools/ac/api.py')
-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");