mirror of
https://github.com/chaitin/SafeLine.git
synced 2025-11-25 11:29:46 +08:00
fix: remove register classmethod
This commit is contained in:
@@ -18,7 +18,6 @@ class ABCTool(ABC):
|
||||
class ToolRegister:
|
||||
_dict: dict[str, ABCTool] = {}
|
||||
|
||||
@classmethod
|
||||
def register(self, tool: ABCTool) -> ABCTool:
|
||||
tool_name = tool.tool().name
|
||||
logging.info(f"Registering tool: {tool_name}")
|
||||
|
||||
Reference in New Issue
Block a user