Skip to content

Commit

Permalink
Reference class vars correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorescu committed Jan 5, 2024
1 parent 46dafa8 commit 4adcc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scram/route_manager/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class WebSocketMessage(models.Model):
)

def __str__(self):
return f"{msg_type}: {msg_data} with the route in key {msg_data_route_field}"
return f"{self.msg_type}: {self.msg_data} with the route in key {self.msg_data_route_field}"


class WebSocketSequenceElement(models.Model):
Expand Down

0 comments on commit 4adcc54

Please sign in to comment.