updated open_xml functionality, grpc open_xml can optionally start now, added opened files to grpc get_sessions

This commit is contained in:
Blake Harnden 2019-10-22 12:08:55 -07:00
parent 0a689a3e96
commit f39b7e9f96
6 changed files with 29 additions and 16 deletions

View file

@ -304,10 +304,8 @@ class CoreXmlWriter(object):
default_options = self.session.options.default_values()
for _id in default_options:
default_value = default_options[_id]
# TODO: should we just save the current config regardless, since it may change?
value = options_config[_id]
if value != default_value:
add_configuration(option_elements, _id, value)
value = options_config.get(_id, default_value)
add_configuration(option_elements, _id, value)
if option_elements.getchildren():
self.scenario.append(option_elements)