ignore reading emane global config from xml when not present
This commit is contained in:
parent
5d9b451b1d
commit
13ef701b6e
1 changed files with 2 additions and 0 deletions
|
@ -731,6 +731,8 @@ class CoreXmlReader:
|
|||
|
||||
def read_emane_global_config(self) -> None:
|
||||
emane_global_configuration = self.scenario.find("emane_global_configuration")
|
||||
if emane_global_configuration is None:
|
||||
return
|
||||
emulator_configuration = emane_global_configuration.find("emulator")
|
||||
configs = {}
|
||||
for config in emulator_configuration.iterchildren():
|
||||
|
|
Loading…
Reference in a new issue