2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-08-30 06:48:23 +00:00

Stop trying to save a fingerprint that didn't exist

This commit is contained in:
Jarrod Johnson
2025-05-27 15:46:29 -04:00
parent 40f3ca73c4
commit 250de6133d

View File

@@ -240,8 +240,8 @@ def get_redfish_fingerprint():
rsp = s.raw_command(0x2c, 1, data=(0x52, 1))
if rsp['data'][:2] == b'\x52\x01':
fprint = rsp['data'][2:]
with open('/run/redfish/fingerprint', 'wb') as printout:
printout.write(fprint)
with open('/run/redfish/fingerprint', 'wb') as printout:
printout.write(fprint)
return fprint