summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-08-24 15:05:53 +0200
committerLeif Johansson <leifj@sunet.se>2011-08-24 15:05:53 +0200
commit86a269d251e1689e2cc006e14e2e4ad20312e5e2 (patch)
treeb306d2d165cc6fa2f950f458ad3c65b00a399770
parent04c326a13376247e7b1a7cedaccc659f6ecb097d (diff)
encoding bug
-rw-r--r--src/meetingtools/ac/api.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py
index 7fcc5fc..1d25faa 100644
--- a/src/meetingtools/ac/api.py
+++ b/src/meetingtools/ac/api.py
@@ -77,20 +77,7 @@ class ACPClient():
p['session'] = self.session
p['action'] = method
- for k,v in p.items():
- #p[k] = ("%s" % v).encode('utf-8')
- logger.debug("----")
- logger.debug(repr(k))
- logger.debug(repr(v))
- logger.debug(type(v))
- if type(v) == int:
- p[k] = "%d" % v
- elif type(v) == unicode:
- p[k] = v
- elif type(v) == str:
- p[k] = v.decode('utf-8')
- else:
- p[k] = repr(v)
+
url = self.url + '?' + urlencode(p)