Further clean up module folder

This commit is contained in:
Fierelier 2022-12-19 12:32:53 +01:00
parent bb0a439b3c
commit fa302a0750
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ def main():
testpy.echo()
testpy = mfp.require("test")
testpy.echo()
testpy = mfp.dofile(mfp.p(mfp.sd,"module","mfp","test.py")) # Same file as used for mfp.require
testpy = mfp.dofile(mfp.p(mfp.sd,"module","test.py")) # Same file as used for mfp.require
testpy.echo()
def bootstrap(name,modName):

View File

@ -77,5 +77,5 @@ def init(mod,modl,sp,d):
programName = distro + "." + s.replace(modl.sd + os.path.sep,"",1).rsplit(".",1)[0]
programNameSet = False
paths.append(p(modl.sd,"module",distro,"?.py"))
paths.append(p(modl.sd,"module",distro,"?","main.py"))
paths.append(p(modl.sd,"module","?.py"))
paths.append(p(modl.sd,"module","?","main.py"))