Skip to content

Commit

Permalink
If event type extract message
Browse files Browse the repository at this point in the history
  • Loading branch information
UTXOnly committed Mar 9, 2024
1 parent 729f2e5 commit 33fa454
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker_stuff/python_stuff/websocket_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ def __init__(self, response_data):
f"Error decoding JSON message in Extracted Response: {json_error}."
)
self.results = ""

self.message = response_data.get("message", "")

if self.event_type == "EVENT":
self.message = response_data.get("message", "")


self.comment = ""
Expand Down

0 comments on commit 33fa454

Please sign in to comment.