libloader/com.py: call prepare_gencache() before trying to build the com cache. Fixes #100

This commit is contained in:
Jose Manuel Delicado 2017-07-07 20:33:49 +02:00
parent 80f2e8f984
commit a8f854cbc5

View File

@ -20,6 +20,7 @@ def load_com(*names):
global fixed global fixed
if fixed==False: if fixed==False:
gencache._GetModule=patched_getmodule gencache._GetModule=patched_getmodule
prepare_gencache()
fixed=True fixed=True
result = None result = None
for name in names: for name in names: