Fix moddata path for python modules.

How did it ever work before? ><
This commit is contained in:
Alexey Sokolov
2012-01-01 22:04:22 +07:00
parent 7ca8aa96a2
commit 78c6b1edd2

View File

@@ -418,7 +418,7 @@ def find_open(modname):
finally:
if x[0]:
x[0].close()
return (pymodule, d[1])
return (pymodule, d[1]+modname)
else:
# nothing found
return (None, None)