summaryrefslogtreecommitdiff
path: root/src/meetingtools/ac
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-24 14:50:45 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-24 14:50:45 +0200
commitf5cdf227a5987dbb501f930d0cea6b3c9d3f23c8 (patch)
treefd7f7dc5a8c804486cc0079a382e825f459a5695 /src/meetingtools/ac
parentcbfe0c216da7e0cbebf604aa191e9ccd8deea12c (diff)
encoding bug
Diffstat (limited to 'src/meetingtools/ac')
-rw-r--r--src/meetingtools/ac/api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py
index 7a8a741..3b6ae94 100644
--- a/src/meetingtools/ac/api.py
+++ b/src/meetingtools/ac/api.py
@@ -87,6 +87,8 @@ class ACPClient():
p[k] = "%d" % v
elif type(v) == unicode:
p[k] = v
+ elif type(v) == str:
+ p[k] = unicode(v)
else:
p[k] = v.encode('utf-8')