Skip to content

Commit

Permalink
fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ericremoreynolds committed Oct 30, 2014
1 parent 7ccea5f commit d28fd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addin/xlpython/xlpyserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import sys
import os
pywintypes_filename = "pywintypes%d%d.dll" % (sys.version_info[0], sys.version_info[1])
pywintypes_found = _win32sysloader.GetModuleFilename(filename)
pywintypes_found = _win32sysloader.GetModuleFilename(pywintypes_filename)
if not pywintypes_found:
pywintypes_found = _win32sysloader.LoadModule(os.path.join(sys.prefix, 'lib', 'site-packages', 'win32', filename))
pywintypes_found = _win32sysloader.LoadModule(os.path.join(sys.prefix, 'lib', 'site-packages', 'win32', pywintypes_filename))

# Import necessary modules
import types
Expand Down

0 comments on commit d28fd94

Please sign in to comment.