Commit 9e3b506d authored by 's avatar

Changed the magic import dance to get PyWinTypes21.dll loaded (it

was still trying PyWinTypes15, which caused running as a service
to fail under win32).
parent 72d4709c
......@@ -220,7 +220,7 @@ def magic_import(modulename, filename):
globals()[modulename] = mod
win32api.FreeLibrary(h)
magic_import('pywintypes','pywintypes15.dll')
magic_import('pywintypes','pywintypes21.dll')
import win32serviceutil, win32service, win32event, win32process
try: import servicemanager
......
......@@ -220,7 +220,7 @@ def magic_import(modulename, filename):
globals()[modulename] = mod
win32api.FreeLibrary(h)
magic_import('pywintypes','pywintypes15.dll')
magic_import('pywintypes','pywintypes21.dll')
import win32serviceutil, win32service, win32event, win32process
try: import servicemanager
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment