From 1aaa2f3f4afe85b2f32fbd35608e376e5def726b Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 24 Aug 2011 14:42:48 +0200 Subject: encoding bug --- src/meetingtools/ac/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index bb7a477..c07fced 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -79,7 +79,7 @@ class ACPClient(): for k,v in p.items(): #p[k] = ("%s" % v).encode('utf-8') - if v is int: + if type(v) == int: p[k] = "%d" % v else: p[k] = v.encode('utf-8') -- cgit v1.1