From 04e934c93c00f7e2d4e7cc1fc74613826017e5a6 Mon Sep 17 00:00:00 2001 From: Tom Goff Date: Mon, 21 Sep 2015 12:41:19 -0400 Subject: [PATCH] daemon: Prefer using Session.getcfgitem() instead of direct access. --- daemon/core/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/core/session.py b/daemon/core/session.py index 69e46560..1f00017a 100644 --- a/daemon/core/session.py +++ b/daemon/core/session.py @@ -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')