Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
c881a5ce
Commit
c881a5ce
authored
Apr 06, 2021
by
carlosribas
Browse files
Bug fix
parent
1fd38b8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rnacentral/apiv1/views.py
rnacentral/apiv1/views.py
+1
-1
No files found.
rnacentral/apiv1/views.py
View file @
c881a5ce
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment