fix graphics

This commit is contained in:
wh1te909 2022-04-09 17:09:09 +00:00
parent 58fe14bd31
commit 4bdb6ae84e
1 changed files with 2 additions and 1 deletions

View File

@ -213,7 +213,8 @@ class Agent(BaseAuditModel):
try:
if not self.wmi_detail["gpus"]:
return "No graphics cards"
return self.wmi_detail["gpus"]
return ", ".join(self.wmi_detail["gpus"])
except:
return "Error getting graphics cards"