From f6f04901d69d4e913a7fe7a2de60cb74edf4159d Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Wed, 5 Jun 2013 17:44:56 +0000 Subject: [PATCH] Create python files on Gist by default --- dpaste/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpaste/views.py b/dpaste/views.py index acb380e..3377b5e 100644 --- a/dpaste/views.py +++ b/dpaste/views.py @@ -208,7 +208,7 @@ def snippet_gist(request, snippet_id): 'description': 'the description for this gist', 'public': False, 'files': { - 'dpaste.de Snippet': { + 'dpaste.de_snippet.py': { 'content': snippet.content, } }