From 55bcd9875183813b2393f9cb33c9ec7cce13317e Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 25 Aug 2011 13:32:39 +0200 Subject: encoding bug --- src/meetingtools/ac/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 76a37aa..2f694d7 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -83,7 +83,7 @@ class ACPClient(): value = v if type(v) == int: value = "%d" % value - u.append(str(k)+'='+urllib.quote(value.encode("utf-8"))) + u.append('%s=%s' % (k,urllib.quote(value.encode("utf-8")))) url = self.url + '?' + '&'.join(u) -- cgit v1.1