Skip to content

Commit

Permalink
Prepare release v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nossebro committed Aug 12, 2020
1 parent 43f677d commit e017ada
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
File renamed without changes.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.0.2 - Bugfix

* Handle json strings better

## 0.0.1 - Primary Release

* First public release
4 changes: 3 additions & 1 deletion SocketReceiver_StreamlabsSystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ScriptName = "SocketReceiver"
Website = "https://github.com/nossebro/SocketReceiver"
Creator = "nossebro"
Version = "0.0.1"
Version = "0.0.2"
Description = "Read events from the local SLCB socket"

#---------------------------------------
Expand Down Expand Up @@ -253,6 +253,8 @@ def LocalSocketError(ws, data):
def LocalSocketEvent(ws, data):
if data.IsText:
event = json.loads(data.Data)
if "data" in event and isinstance(event["data"], str):
event["data"] = json.loads(event["data"])
if event["event"] == "EVENT_CONNECTED":
global LocalSocketIsConnected
LocalSocketIsConnected = True
Expand Down

0 comments on commit e017ada

Please sign in to comment.