Turns out the order is important (#34116)

This commit is contained in:
Nathaniel Case 2017-12-20 22:56:30 -05:00 committed by Kedar Kekan
parent 606540c15d
commit 9e09a9ea61

View file

@ -328,7 +328,7 @@ def convert_key_to_base64(module):
splitfile = key.split()[1]
base64key = b64decode(splitfile)
base64file = open('/tmp/publickey_%s.b64' % (name), 'bw')
base64file = open('/tmp/publickey_%s.b64' % (name), 'wb')
base64file.write(base64key)
base64file.close()