diff --git a/sw/lib/python/settings_xml_parse.py b/sw/lib/python/settings_xml_parse.py index 98a27e2840..5f2602221c 100755 --- a/sw/lib/python/settings_xml_parse.py +++ b/sw/lib/python/settings_xml_parse.py @@ -31,8 +31,8 @@ class PaparazziACSettings: # save AC name for reference self.name = ac_node[0].attrib['name'] - # get settings.xml file path from var/ directory - settings_xml_path = os.path.join(paparazzi_home, 'var/' + self.name + '/settings.xml') + # get settings.xml file path from var/aircrafts/ directory + settings_xml_path = os.path.join(paparazzi_home, 'var/aircrafts/' + self.name + '/settings.xml') if not os.path.isfile(settings_xml_path): print("Could not find %s, did you build it?" % settings_xml_path)