Fixed Broken Device Inventory Data

This commit is contained in:
2025-09-05 04:01:04 -06:00
parent 9913ee673b
commit 7e66a26dcc
2 changed files with 1 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ try:
except Exception:
psutil = None # graceful degradation if unavailable
import aiohttp
import asyncio
def detect_agent_os():
@@ -551,4 +552,3 @@ async def send_agent_details(agent_id, config):
except Exception as e:
print(f"[WARN] Failed to send agent details: {e}")
await asyncio.sleep(300)