Commit c881a5ce authored by carlosribas's avatar carlosribas
Browse files

Bug fix

parent 1fd38b8e
......@@ -388,7 +388,7 @@ class SecondaryStructureSVGImage(generics.ListAPIView):
return Response(status=status.HTTP_404_NOT_FOUND)
return HttpResponse(
self.generate_thumbnail(s3_svg, "".join(upi)), content_type='image/svg+xml'
self.generate_thumbnail(s3_svg.decode('utf-8'), "".join(upi)), content_type='image/svg+xml'
def generate_thumbnail(self, image, upi):
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