Skip to content

Commit a2c0432

Browse files
committed
minor comment fixes & update to v0.5.2
1 parent ed5ef1b commit a2c0432

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

matlab_proxy/app.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ async def matlab_view(req):
376376
# WebSocket
377377
if (
378378
reqH.get("connection")
379-
# Fixes issue #9 on github.
380379
and reqH.get("connection").lower() == "upgrade"
381380
and reqH.get("upgrade")
382381
and reqH.get("upgrade").lower() == "websocket"
@@ -397,11 +396,11 @@ async def wsforward(ws_from, ws_to):
397396
async for msg in ws_from:
398397
mt = msg.type
399398
md = msg.data
400-
401-
# When a websocket is closed by the MATLAB JSD, it sends out a few http requests to the Embedded Connector about the events
399+
400+
# When a websocket is closed by the MATLAB JSD, it sends out a few http requests to the Embedded Connector about the events
402401
# that had occured (figureWindowClosed etc.)
403402
# The Embedded Connector responds by sending a message of type 'Error' with close code as Abnormal closure.
404-
# When this happens, matlab-proxy can safely exit out of the loop
403+
# When this happens, matlab-proxy can safely exit out of the loop
405404
# and close the websocket connection it has with the Embedded Connector (ws_client)
406405
if (
407406
mt == aiohttp.WSMsgType.ERROR

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def run(self):
6666

6767
setuptools.setup(
6868
name="matlab-proxy",
69-
version="0.5.1",
69+
version="0.5.2",
7070
url=config["doc_url"],
7171
author="The MathWorks, Inc.",
7272
author_email="cloud@mathworks.com",

0 commit comments

Comments
 (0)