mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-15 12:59:06 +00:00
Solve wintypes import
This commit is contained in:
parent
4fc5364ab5
commit
85f571ee8b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user