fix
This commit is contained in:
parent
cb1a0f27de
commit
29072ef1ad
|
@ -53,10 +53,10 @@ class Interface:
|
||||||
msg_id = c.get('id')
|
msg_id = c.get('id')
|
||||||
result = c.get('result')
|
result = c.get('result')
|
||||||
error = c.get('error')
|
error = c.get('error')
|
||||||
|
params = c.get('params',[])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
method = c['method']
|
method = c['method']
|
||||||
params = c['params']
|
|
||||||
except:
|
except:
|
||||||
print "error"
|
print "error"
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue