From 0a4806d9b00b6cb5ee19b2c8fffa1f8bad35f89a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 7 Aug 2023 17:13:27 +0800 Subject: [PATCH] bugfgix --- ahserver/loadplugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/loadplugins.py b/ahserver/loadplugins.py index 47d6774..d029266 100644 --- a/ahserver/loadplugins.py +++ b/ahserver/loadplugins.py @@ -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())