ThomasV 13 years ago
parent
commit
29072ef1ad
  1. 2
      client/interface.py

2
client/interface.py

@ -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…
Cancel
Save