fix
authorThomasV <thomasv@gitorious>
Tue, 27 Mar 2012 22:03:05 +0000 (00:03 +0200)
committerThomasV <thomasv@gitorious>
Tue, 27 Mar 2012 22:03:05 +0000 (00:03 +0200)
client/interface.py

index efebb3f..c42e1a9 100644 (file)
@@ -53,10 +53,10 @@ class Interface:
         msg_id = c.get('id')
         result = c.get('result')
         error = c.get('error')
+        params = c.get('params',[])
 
         try:
             method = c['method']
-            params = c['params']
         except:
             print "error"
             return