diff options
author | Leif Johansson <leifj@sunet.se> | 2011-08-24 14:41:42 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-08-24 14:41:42 +0200 |
commit | 83ea0894f6b64938adf09dc22739528f2937421e (patch) | |
tree | dfca9562482e8c636250b44ee5358d99f99da19e /src/meetingtools | |
parent | 2e48c698921ec3018e08cfe8674e92aaad32eff3 (diff) |
encoding bug
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/ac/api.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index cd03730..bb7a477 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -78,7 +78,11 @@ class ACPClient(): p['action'] = method for k,v in p.items(): - p[k] = ("%s" % v).encode('utf-8') + #p[k] = ("%s" % v).encode('utf-8') + if v is int: + p[k] = "%d" % v + else: + p[k] = v.encode('utf-8') url = self.url + '?' + urlencode(p) |