Commit 63c1efa1 authored by Michal Čihař's avatar Michal Čihař

Improve coding style

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 24580452
...@@ -200,8 +200,7 @@ class ComponentViewSet(MultipleFieldMixin, WeblateViewSet): ...@@ -200,8 +200,7 @@ class ComponentViewSet(MultipleFieldMixin, WeblateViewSet):
handle.read(), handle.read(),
content_type=content_type content_type=content_type
) )
response['Content-Disposition'] = \ response['Content-Disposition'] = 'attachment; filename="{0}"'.format(
'attachment; filename="{0}"'.format(
os.path.basename(filename) os.path.basename(filename)
) )
return response return response
......
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