forked from mirrors/thatmattlove-hyperglass
Fix deprecated base64 method
This commit is contained in:
parent
21831d4766
commit
c7292dadd3
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ class Http(HyperglassModel, extra="allow"):
|
|||
else:
|
||||
dumped["auth"] = self.authentication.basic()
|
||||
|
||||
self._obscured_params = base64.encodestring(str(dumped).encode())
|
||||
self._obscured_params = base64.encodebytes(str(dumped).encode())
|
||||
|
||||
def decoded(self):
|
||||
"""Decode connection details."""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue