Browse Source

tolerate results without method

283
ThomasV 13 years ago
parent
commit
5e512754d3
  1. 7
      client/interface.py

7
client/interface.py

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

Loading…
Cancel
Save