From 5877169551f270b96969a7b8c7100a52ef296b0e Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 24 Aug 2011 14:47:16 +0200 Subject: encoding bug --- src/meetingtools/ac/api.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/meetingtools') diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index c07fced..4b75e97 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -81,6 +81,8 @@ class ACPClient(): #p[k] = ("%s" % v).encode('utf-8') if type(v) == int: p[k] = "%d" % v + if type(v) == unicode: + p[k] = v else: p[k] = v.encode('utf-8') -- cgit v1.1