Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.
Python agentsai-hackingai-penetration-testingai-pentestingai-securityartificial-intelligencebug-bountycode-qualityctf-toolscybersecuritycybersecurity-toolsethical-hackinghackingllm-securityoffensive-securitypenetration-testingpentesting-toolsred-teamingsecuritysecurity-automation
fix: restrict result type check to dict or str
0xallam86a687ede8e8
diff --git a/strix/interface/tool_components/python_renderer.py b/strix/interface/tool_components/python_renderer.pyindex 415660ec..404e0ad1 100644--- a/strix/interface/tool_components/python_renderer.py+++ b/strix/interface/tool_components/python_renderer.py@@ -149,7 +149,7 @@ class PythonRenderer(BaseToolRenderer):else:text.append("Running...", style="dim")- if result:+ if result and isinstance(result, dict | str):cls._append_output(text, result)css_classes = cls.get_css_classes(status)