From 2628bfe4edd5237ae90689d5ce7c6ba6582ad480 Mon Sep 17 00:00:00 2001 From: Anatoly Belikov Date: Mon, 1 Jul 2024 11:17:51 +0300 Subject: [PATCH] write mode a for missionEndedXml --- tagilmo/VereyaPython/agent_host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagilmo/VereyaPython/agent_host.py b/tagilmo/VereyaPython/agent_host.py index 8f14815..b909b9a 100644 --- a/tagilmo/VereyaPython/agent_host.py +++ b/tagilmo/VereyaPython/agent_host.py @@ -548,7 +548,7 @@ def onMissionControlMessage(self, xml: TimestampedString) -> Optional[None]: return assert self.current_mission_record is not None if self.current_mission_record.isRecording(): - missionEndedXML = open(self.current_mission_record.getMissionEndedPath(), 'aw') + missionEndedXML = open(self.current_mission_record.getMissionEndedPath(), 'a') missionEndedXML.write(xml.text) missionEndedXML.close() self.close()