summaryrefslogtreecommitdiff
path: root/addons/web_chat/controllers/main.py
diff options
context:
space:
mode:
authornoz (OpenERP) <noz@tinyerp.com>2011-04-12 09:52:31 +0530
committernoz (OpenERP) <noz@tinyerp.com>2011-04-12 09:52:31 +0530
commitbc0b9fe4e713642fe893677abe8ec42303bea2dd (patch)
treea4b31fbf164c6ac3ba5fe23c1dfdecf73d3935b6 /addons/web_chat/controllers/main.py
parent31ff2c17723f0eb0b34f6c050a2890fe7880b7a2 (diff)
[FIX] Removed unnecessary files.
bzr revid: noz@tinyerp.com-20110412042231-ualx3l5s4po6wka7
Diffstat (limited to 'addons/web_chat/controllers/main.py')
-rw-r--r--addons/web_chat/controllers/main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web_chat/controllers/main.py b/addons/web_chat/controllers/main.py
index adb32c3a7a3..f1c1d392ea9 100644
--- a/addons/web_chat/controllers/main.py
+++ b/addons/web_chat/controllers/main.py
@@ -144,7 +144,6 @@ class PollServer(openerpweb.Controller):
msg = '[]'
time.sleep(1)
- # it's http://localhost:8002/web_chat/pollserver/poll?callback=jsonp1302147330483&_1302147330483=
return '%s'%kw.get('callback', '') + '(' + str(msg) + ');'
@openerpweb.httprequest
@@ -210,7 +209,7 @@ class PollServer(openerpweb.Controller):
msg_arr = []
for msg in messages:
msg_arr.append({"t": str(msg['type']), "s": str(msg['from']), "r": str(msg['to']), "m": str(msg['message'])})
-
+
return msg_arr
def _sanitize(self, message):