Fixed messages attribute
This commit is contained in:
parent
9641a4dab8
commit
a868c997ac
@ -25,6 +25,7 @@ class Leg():
|
||||
self.direction = None
|
||||
|
||||
self.messages = []
|
||||
if "Messages" in data:
|
||||
for message in data["Messages"]["Message"]:
|
||||
self.messages.append(Message(message))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user