Skip to content
Snippets Groups Projects
Commit dcef0ecd authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[algorithms][api] Fix initialization of binary variable content

parent 230f45a7
No related branches found
No related tags found
2 merge requests!2551.4.x,!242Py3 compatibility
......@@ -182,7 +182,7 @@ def binary(request, author_name, object_name, version=None):
file = request.FILES['binary']
binary_data = ''
binary_data = b''
for chunk in file.chunks():
binary_data += chunk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment