diff options
author | Leif Johansson <leifj@sunet.se> | 2011-08-25 13:34:24 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-08-25 13:34:24 +0200 |
commit | 6c82e893a94c1b58a9f93e2c9914ed92126d8c5f (patch) | |
tree | 261e625b5ef59a25c27485051efcb61e991f5db1 /src/meetingtools | |
parent | 55bcd9875183813b2393f9cb33c9ec7cce13317e (diff) |
encoding bug
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/ac/api.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 2f694d7..3ea88fd 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -74,11 +74,10 @@ class ACPClient(): self._cache = {'login':{},'group':{}} def request(self,method,p={},raise_error=False): - if self.session: - p['session'] = self.session - p['action'] = method - u = [] + u.append("action=%s" % method) + if self.session: + u.append("session=%s" % self.session) for k,v in p.items(): value = v if type(v) == int: |