From 85f571ee8bffb05f63cd922d394562c209ceb2b1 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 28 Apr 2016 16:35:18 +0200 Subject: [PATCH] Solve wintypes import --- gns3server/modules/vmware/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/modules/vmware/__init__.py b/gns3server/modules/vmware/__init__.py index 187f099c..8825d853 100644 --- a/gns3server/modules/vmware/__init__.py +++ b/gns3server/modules/vmware/__init__.py @@ -646,6 +646,7 @@ class VMware(BaseManager): if sys.platform.startswith("win"): import ctypes + import ctypes.wintypes path = ctypes.create_unicode_buffer(ctypes.wintypes.MAX_PATH) ctypes.windll.shell32.SHGetFolderPathW(None, 5, None, 0, path) documents_folder = path.value