From 186ba7eb2599609c1d33f28b13542ad910f79a84 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 25 Aug 2011 13:35:34 +0200 Subject: encoding bug --- src/meetingtools/ac/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 3ea88fd..ed17260 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -5,7 +5,7 @@ Created on Jan 31, 2011 ''' import httplib2 -from urllib import quote, urlencode +from urllib import quote, urlencode, quote_plus import logging from pprint import pformat import os @@ -82,7 +82,7 @@ class ACPClient(): value = v if type(v) == int: value = "%d" % value - u.append('%s=%s' % (k,urllib.quote(value.encode("utf-8")))) + u.append('%s=%s' % (k,quote_plus(value.encode("utf-8")))) url = self.url + '?' + '&'.join(u) -- cgit v1.1