1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-19 06:48:10 +00:00

Fixes dev syntax bug.

This commit is contained in:
grossmj 2016-03-20 11:32:40 -06:00
parent 19b46a4014
commit 975e1c8fa7

View File

@ -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))