diff --git a/scram/route_manager/models.py b/scram/route_manager/models.py index c1f07486..02857edf 100644 --- a/scram/route_manager/models.py +++ b/scram/route_manager/models.py @@ -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):