2
0
mirror of https://opendev.org/x/pyghmi synced 2026-05-16 19:34:21 +00:00

Merge "Fix XCC use of Redfish in OEM and python3"

This commit is contained in:
Zuul
2021-01-15 16:12:02 +00:00
committed by Gerrit Code Review
+2 -1
View File
@@ -950,7 +950,8 @@ class XCCClient(IMMClient):
{'Action': 'Bios.ResetBios'},
headers={
'Authorization': 'Basic %s' % base64.b64encode(
self.username + ':' + self.password),
(self.username + ':' + self.password).encode('utf8')
).decode('utf8'),
'Content-Type': 'application/json'
}
)