|
@ -54,11 +54,8 @@ class Interface: |
|
|
result = c.get('result') |
|
|
result = c.get('result') |
|
|
error = c.get('error') |
|
|
error = c.get('error') |
|
|
params = c.get('params',[]) |
|
|
params = c.get('params',[]) |
|
|
|
|
|
method = c.get('method',None) |
|
|
try: |
|
|
if not method: |
|
|
method = c['method'] |
|
|
|
|
|
except: |
|
|
|
|
|
print "error", c |
|
|
|
|
|
return |
|
|
return |
|
|
|
|
|
|
|
|
if error: |
|
|
if error: |
|
|