summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-24 15:59:41 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-24 15:59:41 +0200
commit597cda44b570e2c0be5bee371e435789befcfcc9 (patch)
tree6acb98ed855a696e9ad3f77b7b048a13f836ccdf /src
parent4c52ff378d531db28151d16f7153759a082b83a5 (diff)
encoding bug
Diffstat (limited to 'src')
-rw-r--r--src/meetingtools/ac/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py
index 2d109bf..bfeeb9b 100644
--- a/src/meetingtools/ac/api.py
+++ b/src/meetingtools/ac/api.py
@@ -86,7 +86,7 @@ class ACPClient():
if type(v) == int:
p[k] = "%d" % v
else:
- p[k] = v.encode('utf-8')
+ p[k] = str(v).decode('utf-8')
url = self.url + '?' + urlencode(p)