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