From da85d7b82798d59997627fb05753534a10db55a1 Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 20 May 2020 19:19:04 +0930 Subject: [PATCH] Try to fix error when listing Hyper-V VMs. Ref #1755 --- gns3server/controller/gns3vm/hyperv_gns3_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/gns3vm/hyperv_gns3_vm.py b/gns3server/controller/gns3vm/hyperv_gns3_vm.py index 0558b1b4..cffb39ae 100644 --- a/gns3server/controller/gns3vm/hyperv_gns3_vm.py +++ b/gns3server/controller/gns3vm/hyperv_gns3_vm.py @@ -179,7 +179,7 @@ class HyperVGNS3VM(BaseGNS3VM): List all Hyper-V VMs """ - if self._conn is None: + if self._conn is None or self._management is None: self._connect() vms = []