fix: incorrect state file (wrong dir)

This commit is contained in:
patrick committed 2026-01-22 22:58:09 -05:00
1 parent 848a29543d
commit 63a47d4c95
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ class LocalStateReporter:
Manages the health manifest on Triton. Manages the health manifest on Triton.
Acts as the 'Black Box' recorder for Argus to query. Acts as the 'Black Box' recorder for Argus to query.
""" """
def __init__(self, state_file="/home/patrick/threat-agent-state.json"): def __init__(self, state_file="/home/patrick/threat-engine-agent/threat-agent-state.json"):
self.state_file = state_file self.state_file = state_file
# Ensure the directory is writable # Ensure the directory is writable
os.makedirs(os.path.dirname(os.path.abspath(self.state_file)), exist_ok=True) os.makedirs(os.path.dirname(os.path.abspath(self.state_file)), exist_ok=True)