From 4ddc952c7720e95a6ec74dcded14cc403585ceab Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 23 Apr 2013 15:03:23 -0400 Subject: introduce BRANDING_SLUG for releng --- releng/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'releng/views.py') diff --git a/releng/views.py b/releng/views.py index ca0a7dd2..bc7ddb34 100644 --- a/releng/views.py +++ b/releng/views.py @@ -234,7 +234,7 @@ def release_torrent(request, version): data = b64decode(release.torrent_data.encode('utf-8')) response = HttpResponse(data, content_type='application/x-bittorrent') # TODO: this is duplicated from Release.iso_url() - filename = 'archlinux-%s-dual.iso.torrent' % release.version + filename = '%s-%s-dual.iso.torrent' % (settings.BRANDING_SLUG, release.version) response['Content-Disposition'] = 'attachment; filename=%s' % filename return response -- cgit v1.2.3-54-g00ecf