summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-24 14:42:48 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-24 14:42:48 +0200
commit1aaa2f3f4afe85b2f32fbd35608e376e5def726b (patch)
treea5e10017967a196a0ee787045e9d293ac353bfbf /src
parent83ea0894f6b64938adf09dc22739528f2937421e (diff)
encoding bug
Diffstat (limited to 'src')
-rw-r--r--src/meetingtools/ac/api.py2
1 files changed, 1 insertions, 1 deletions
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')