Skip to content

Commit

Permalink
Update cheshire_cat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zAlweNy26 committed Sep 1, 2023
1 parent e80c08a commit 414c3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cat/looking_glass/cheshire_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def send_ws_message(self, content: str, msg_type: MSG_TYPES = "notification"):
if msg_type not in options:
raise ValueError(f"The message type `{msg_type}` is not valid. Valid types: {', '.join(options)}")

if msg_type is "error":
if msg_type == "error":
self.ws_messages.append({
"type": msg_type,
"name": "GenericError",
Expand Down

0 comments on commit 414c3bc

Please sign in to comment.