Turns out the order is important (#34116)
This commit is contained in:
parent
606540c15d
commit
9e09a9ea61
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ def convert_key_to_base64(module):
|
||||||
splitfile = key.split()[1]
|
splitfile = key.split()[1]
|
||||||
|
|
||||||
base64key = b64decode(splitfile)
|
base64key = b64decode(splitfile)
|
||||||
base64file = open('/tmp/publickey_%s.b64' % (name), 'bw')
|
base64file = open('/tmp/publickey_%s.b64' % (name), 'wb')
|
||||||
base64file.write(base64key)
|
base64file.write(base64key)
|
||||||
base64file.close()
|
base64file.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue