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,11 +200,10 @@ class ComponentViewSet(MultipleFieldMixin, WeblateViewSet):
handle.read(),
content_type=content_type
)
response['Content-Disposition'] = \
'attachment; filename="{0}"'.format(
os.path.basename(filename)
)
return response
response['Content-Disposition'] = 'attachment; filename="{0}"'.format(
os.path.basename(filename)
)
return response
@detail_route(methods=['get'])
def monolingual_base(self, request, **kwargs):
......
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