Commit 1631494e authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Ensure base64 encoded binaries are in ascii

This fixes an issue that occurred while running the new gitlab script on
the gettor machine. Newer library versions require the b64 encoded byte
string to be converted to ascii text.
parent ff6379b5
......@@ -59,7 +59,7 @@ class GitlabRemote:
# Binary files need to be base64 encoded
'action': 'create',
'file_path': filename,
'content': base64.b64encode(contents),
'content': base64.b64encode(contents).decode("ascii"),
'encoding': 'base64',
}
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment