zerver/lib/socket.py: Fix line with length greater than 120.

This commit is contained in:
Taranjeet Singh
2016-07-17 23:29:40 +05:30
committed by Tim Abbott
parent 5499136bfd
commit 9f3f82d06d

View File

@@ -300,7 +300,8 @@ def respond_send_message(data):
# securely send us the zulip.com cookie, which we use as part of our # securely send us the zulip.com cookie, which we use as part of our
# authentication scheme. # authentication scheme.
sockjs_router = sockjs.tornado.SockJSRouter(SocketConnection, "/sockjs", sockjs_router = sockjs.tornado.SockJSRouter(SocketConnection, "/sockjs",
{'sockjs_url': 'https://%s/static/third/sockjs/sockjs-0.3.4.js' % (settings.EXTERNAL_HOST,), {'sockjs_url': 'https://%s/static/third/sockjs/sockjs-0.3.4.js' % (
settings.EXTERNAL_HOST,),
'disabled_transports': ['eventsource', 'htmlfile']}) 'disabled_transports': ['eventsource', 'htmlfile']})
def get_sockjs_router(): def get_sockjs_router():
# type: () -> sockjs.tornado.SockJSRouter # type: () -> sockjs.tornado.SockJSRouter