X-Git-Url: https://scm.cri.minesparis.psl.eu/git/Portfolio.git/blobdiff_plain/2da869b2b46179d64c05eaac4081226fdbbbc9ff..e73353500c67453ef9663d67eaeee7dd46c358ee:/skins/photo_download.py?ds=sidebyside diff --git a/skins/photo_download.py b/skins/photo_download.py deleted file mode 100755 index 674a2ae..0000000 --- a/skins/photo_download.py +++ /dev/null @@ -1,6 +0,0 @@ -req = context.REQUEST -resp = req.RESPONSE -filename = getattr(context, 'orig_name', context.getId()) -resp.setHeader('Content-Disposition', 'attachment; filename=%s' % filename) - -return context.index_html(req, resp)