From 75618d649b4dac028e0f2a3dbf0cfcce078e5416 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Mon, 25 Nov 2013 19:36:32 +0100 Subject: [PATCH] Fixed import. --- dpaste/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpaste/forms.py b/dpaste/forms.py index 831ecfe..e163b64 100644 --- a/dpaste/forms.py +++ b/dpaste/forms.py @@ -60,7 +60,7 @@ class SnippetForm(forms.ModelForm): self.fields['lexer'].initial = session_lexer # if the lexer is given via GET, set it - if 'l' in request.GET and request.GET['l'] in LEXERK_KEYS: + if 'l' in request.GET and request.GET['l'] in LEXER_KEYS: self.fields['lexer'].initial = request.GET['l']