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