Patch for an Issue #1158

This commit is contained in:
Miroslav Stampar 2015-02-06 09:05:41 +01:00
parent 247384858e
commit b1d13d1e7d

View File

@ -62,7 +62,7 @@ def modulePath():
except NameError:
_ = inspect.getsourcefile(modulePath)
return os.path.dirname(os.path.realpath(getUnicode(_, sys.getfilesystemencoding())))
return getUnicode(os.path.dirname(os.path.realpath(_)), sys.getfilesystemencoding())
def main():
"""