Skip to content

Commit

Permalink
write mode a for missionEndedXml
Browse files Browse the repository at this point in the history
  • Loading branch information
noskill authored Jul 1, 2024
1 parent 79a8ffa commit 2628bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagilmo/VereyaPython/agent_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2628bfe

Please sign in to comment.