From b20a62e065371473eef88ae6578882b0ac0042ff Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 24 Aug 2011 16:09:45 +0200 Subject: encoding bug --- src/meetingtools/ac/api.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/meetingtools/ac') diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index bfeeb9b..0ecc9eb 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -77,17 +77,6 @@ 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] = str(v).decode('utf-8') - url = self.url + '?' + urlencode(p) h = httplib2.Http(tempfile.gettempdir()+os.sep+".cache"); -- cgit v1.1