Skip to content

Commit fe71ab0

Browse files
committed
fix(AttributeError: 'NoneType' object has no attribute 'values'):
1 parent 91c99e6 commit fe71ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agentic_security/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def entrypoint(self):
202202
self.load_config(self.default_path)
203203
logger.info("Configuration loaded successfully.")
204204
print(self.config)
205-
datasets = list(self.get_config_value("modules").values())
205+
datasets = list(self.get_config_value("modules", {}).values())
206206
for d in datasets:
207207
d["selected"] = True
208208
self.scan(

0 commit comments

Comments
 (0)