mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-17 06:48:18 +00:00
Check for the Dynamips version.
This commit is contained in:
@ -75,7 +75,7 @@ class DynamipsHypervisor(object):
|
||||
raise DynamipsError("Could not connect to server: {}".format(e))
|
||||
|
||||
try:
|
||||
self._version = self.send("hypervisor version")[0][4:]
|
||||
self._version = self.send("hypervisor version")[0].split("-", 1)[0]
|
||||
except IndexError:
|
||||
self._version = "Unknown"
|
||||
|
||||
|
Reference in New Issue
Block a user