summaryrefslogtreecommitdiff
path: root/src/meetingtools/ac
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-25 13:35:34 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-25 13:35:34 +0200
commit186ba7eb2599609c1d33f28b13542ad910f79a84 (patch)
tree84e3650d995ebee11710cd4f6f5c03427e4a07ad /src/meetingtools/ac
parent6c82e893a94c1b58a9f93e2c9914ed92126d8c5f (diff)
encoding bug
Diffstat (limited to 'src/meetingtools/ac')
-rw-r--r--src/meetingtools/ac/api.py4
1 files changed, 2 insertions, 2 deletions
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)