mirror of
https://opendev.org/x/pyghmi
synced 2025-08-17 16:40:19 +00:00
Merge "Fix XCC use of Redfish in OEM and python3"
This commit is contained in:
@@ -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'
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user