refactor: filter和ignore独立成新的cntfilter包

This commit is contained in:
RockChinQ
2024-01-25 15:28:23 +08:00
parent f4ae9df3bf
commit a9a798b19d
17 changed files with 440 additions and 146 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ from __future__ import annotations
import re
from ...boot import app
from ...boot import config as config_util
from ...config import manager as cfg_mgr
@@ -18,7 +17,7 @@ class SessionBanManager:
self.ap = ap
async def initialize(self):
self.banlist_mgr = await config_util.load_python_module_config(
self.banlist_mgr = await cfg_mgr.load_python_module_config(
"banlist.py",
"res/templates/banlist-template.py"
)