summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-24 15:02:17 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-24 15:02:17 +0200
commit04c326a13376247e7b1a7cedaccc659f6ecb097d (patch)
tree65acf7ac6d229af7abb8882f331795b3cda086f4 /src/meetingtools
parentf5cdf227a5987dbb501f930d0cea6b3c9d3f23c8 (diff)
encoding bug
Diffstat (limited to 'src/meetingtools')
-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 3b6ae94..7fcc5fc 100644
--- a/src/meetingtools/ac/api.py
+++ b/src/meetingtools/ac/api.py
@@ -88,9 +88,9 @@ class ACPClient():
elif type(v) == unicode:
p[k] = v
elif type(v) == str:
- p[k] = unicode(v)
+ p[k] = v.decode('utf-8')
else:
- p[k] = v.encode('utf-8')
+ p[k] = repr(v)
url = self.url + '?' + urlencode(p)