Skip to content
Snippets Groups Projects
Commit e0f3fc15 authored by Vermaat's avatar Vermaat
Browse files

Correctly handle incoming ByteArray in webservices

parent bc0377a6
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ class MutalyzerService(ServiceBase):
'Only files up to %d megabytes are accepted.'
% (settings.MAX_FILE_SIZE // 1048576))
batch_file = StringIO(data)
batch_file = StringIO(''.join(data))
job, columns = file_instance.parseBatchFile(batch_file)
batch_file.close()
......
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