diff options
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/ac/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 3b6ae94..7fcc5fc 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -88,9 +88,9 @@ class ACPClient(): elif type(v) == unicode: p[k] = v elif type(v) == str: - p[k] = unicode(v) + p[k] = v.decode('utf-8') else: - p[k] = v.encode('utf-8') + p[k] = repr(v) url = self.url + '?' + urlencode(p) |