daemon: Prefer using Session.getcfgitem() instead of direct access.
This commit is contained in:
parent
e24bc9f3b9
commit
04e934c93c
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ class Session(object):
|
|||
def runtime_state_hook(self, state):
|
||||
if state == coreapi.CORE_EVENT_RUNTIME_STATE:
|
||||
self.emane.poststartup()
|
||||
xmlfilever = self.cfg['xmlfilever']
|
||||
xmlfilever = self.getcfgitem('xmlfilever')
|
||||
if xmlfilever in ('1.0',):
|
||||
xmlfilename = os.path.join(self.sessiondir,
|
||||
'session-deployed.xml')
|
||||
|
|
Loading…
Reference in a new issue