From b55e12d0574873cdcec4ad56886e302112b30f9b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 3 May 2013 17:29:53 +0200 Subject: [PATCH] python2.6 does not like unicode dict keys as kargs --- pandora_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_client/client.py b/pandora_client/client.py index 80fa87b..a00ddc7 100644 --- a/pandora_client/client.py +++ b/pandora_client/client.py @@ -35,7 +35,7 @@ class DistributedClient: r = requests.get(url) data = json.loads(r.content) if 'oshash' in data: - self.encode(**data) + self.encode(data['oshash'], data['cmd'], data['output']) return True return False