Turns out the order is important (#34116)

pull/24938/merge
Nathaniel Case 7 years ago committed by Kedar Kekan
parent 606540c15d
commit 9e09a9ea61

@ -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…
Cancel
Save