Force to rebuild the COM cache on Windows (for VirtualBox support).

This commit is contained in:
grossmj committed 2014-08-17 15:15:07 -06:00
1 parent e0f0c98ffd
commit ea05744e1c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ class VirtualBox(IModule):
# http://www.py2exe.org/index.cgi/IncludingTypelibs
# http://www.py2exe.org/index.cgi/UsingEnsureDispatch
win32com.client.gencache.is_readonly = False
#win32com.client.gencache.Rebuild()
win32com.client.gencache.Rebuild()
win32com.client.gencache.GetGeneratePath()
try:
from .vboxapi_py3 import VirtualBoxManager