Removing spaces from OPML export because some users have mentioned that the OPML file is just called 'NewsBlur' and not 'NewsBlur Subs - username - 14-09-2015'.

This commit is contained in:
Samuel Clay 2015-09-14 15:44:14 -07:00
parent 9a7b994fcf
commit b1f543ee0a

View file

@ -83,7 +83,7 @@ def opml_export(request):
opml = exporter.process()
response = HttpResponse(opml, mimetype='text/xml')
response['Content-Disposition'] = 'attachment; filename=NewsBlur Subscriptions - %s - %s' % (
response['Content-Disposition'] = 'attachment; filename=NewsBlur-%s-%s' % (
user.username,
now.strftime('%Y-%m-%d')
)