Skip to content

Commit

Permalink
[supervision] Fix sessions save. (#3183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-B committed Nov 23, 2023
1 parent 7b54c09 commit d007969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/supervision/python/session_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def replace_session(self, session):
break

def save_sessions(self):
ctrl_panel_path = os.path.join(utils.CONF_DIR, "control_panel.xml")
ctrl_panel_path = os.path.join(utils.CONF_DIR, self.get_current_control_panel())
parser = ET.XMLParser(remove_blank_text=True)
control_panel = ET.parse(ctrl_panel_path, parser)
xml_sessions = ET.Element("section")
Expand Down

0 comments on commit d007969

Please sign in to comment.