mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-02-21 01:42:16 +00:00
Fixes dev syntax bug.
This commit is contained in:
parent
19b46a4014
commit
975e1c8fa7
@ -637,7 +637,7 @@ class VMware(BaseManager):
|
||||
vms = self._get_vms_from_directory(default_vm_path)
|
||||
|
||||
# looks for VMX paths in the preferences file in case not all VMs are in the default directory
|
||||
for key, value in pairs:
|
||||
for key, value in pairs.items():
|
||||
m = re.match(r'pref.mruVM(\d+)\.filename', key)
|
||||
if m:
|
||||
display_name = "pref.mruVM{}.displayName".format(m.group(1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user