From 68c773fc6a42c89d622734eb09367fd62d44ce30 Mon Sep 17 00:00:00 2001 From: 332FG Raven <332fg.raven@gmail.com> Date: Mon, 12 Feb 2024 22:48:35 -0800 Subject: [PATCH] MessageToUnit fix for dict() --- dcs/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcs/action.py b/dcs/action.py index 3e2020f3..aed30e14 100644 --- a/dcs/action.py +++ b/dcs/action.py @@ -945,7 +945,7 @@ def create_from_dict(cls, d: Dict[Any, Any], mission) -> MessageToUnit: d["seconds"], d["clearview"], d["start_delay"]) def dict(self): - d = super(MessageToGroup, self).dict() + d = super().dict() d["unit"] = self.unit_id d["seconds"] = self.seconds d["clearview"] = self.clearview