Try to fix error when listing Hyper-V VMs. Ref #1755

This commit is contained in:
grossmj 2020-05-20 19:19:04 +09:30
parent 7002b026fc
commit da85d7b827

View File

@ -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 = []