python2.6 does not like unicode dict keys as kargs
This commit is contained in:
parent
15da3c1d5b
commit
b55e12d057
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue