commit 50e3e28c23378d8151ddeb092cb9f8f0e975a4b9
parent b286c14ab582dce50192661a712ee41992241c89
Author: ThomasV <thomasv@gitorious>
Date: Sun, 25 Mar 2012 17:31:19 +0200
fix banner
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/client/interface.py b/client/interface.py
@@ -208,7 +208,8 @@ class NativeInterface(PollingInterface):
if out=='': out=None #fixme
if cmd == 'new_session':
- self.session_id, self.message = ast.literal_eval( out )
+ self.session_id, msg = ast.literal_eval( out )
+ self.responses.put({'method':'server.banner', 'params':[], 'result':msg})
else:
self.update_waiting_lists(method, params)
self.responses.put({'method':method, 'params':params, 'result':out})