diff options
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/ac/api.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 0ecc9eb..2d109bf 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -77,6 +77,17 @@ 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 + else: + p[k] = v.encode('utf-8') + url = self.url + '?' + urlencode(p) h = httplib2.Http(tempfile.gettempdir()+os.sep+".cache"); |