This commit is contained in:
yumoqing 2023-08-07 17:13:27 +08:00
parent 3f8fcc359d
commit 0a4806d9b0

View File

@ -14,7 +14,7 @@ def load_plugins(p_dir):
sys.path.append(pdir)
ef.set('sys',sys)
ef.set('ServerEnv', ServerEnv)
for m in listFile(pdir, subfixs='.py'):
for m in listFile(pdir, suffixs='.py'):
if m.endswith('__init__.py'):
continue
__import__(m[:-3], locals(), globals())