From a2c04329fa36ab1e20133d2cbeb1552d967f4ae0 Mon Sep 17 00:00:00 2001 From: Prabhakar Kumar Date: Thu, 27 Oct 2022 14:20:21 +0530 Subject: [PATCH] minor comment fixes & update to v0.5.2 --- matlab_proxy/app.py | 7 +++---- setup.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/matlab_proxy/app.py b/matlab_proxy/app.py index d426ab6e..7976d34f 100644 --- a/matlab_proxy/app.py +++ b/matlab_proxy/app.py @@ -376,7 +376,6 @@ async def matlab_view(req): # WebSocket if ( reqH.get("connection") - # Fixes issue #9 on github. and reqH.get("connection").lower() == "upgrade" and reqH.get("upgrade") and reqH.get("upgrade").lower() == "websocket" @@ -397,11 +396,11 @@ async def wsforward(ws_from, ws_to): async for msg in ws_from: mt = msg.type md = msg.data - - # When a websocket is closed by the MATLAB JSD, it sends out a few http requests to the Embedded Connector about the events + + # When a websocket is closed by the MATLAB JSD, it sends out a few http requests to the Embedded Connector about the events # that had occured (figureWindowClosed etc.) # The Embedded Connector responds by sending a message of type 'Error' with close code as Abnormal closure. - # When this happens, matlab-proxy can safely exit out of the loop + # When this happens, matlab-proxy can safely exit out of the loop # and close the websocket connection it has with the Embedded Connector (ws_client) if ( mt == aiohttp.WSMsgType.ERROR diff --git a/setup.py b/setup.py index ceca349b..6b3dcd57 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ def run(self): setuptools.setup( name="matlab-proxy", - version="0.5.1", + version="0.5.2", url=config["doc_url"], author="The MathWorks, Inc.", author_email="cloud@mathworks.com",