fix to account for emane 1.2.1, until later cleanup

This commit is contained in:
Blake J. Harnden 2018-03-21 22:58:07 -07:00
parent 5403b10cef
commit 4987019cf8

View file

@ -9,6 +9,7 @@ EMANE091 = 91
EMANE092 = 92
EMANE093 = 93
EMANE101 = 101
EMANE121 = 121
VERSION = None
VERSIONSTR = None
@ -38,6 +39,8 @@ def emane_version():
VERSION = EMANE093
elif output.startswith("1.0.1"):
VERSION = EMANE101
elif output.startswith("1.2.1"):
VERSION = EMANE121
except CoreCommandError:
logger.exception("error checking emane version")
output = ""