Solve wintypes import

pull/516/head
Julien Duponchelle 8 years ago
parent 4fc5364ab5
commit 85f571ee8b
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -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…
Cancel
Save