mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-19 08:09:38 +11:00
Fixed import.
This commit is contained in:
parent
1069b3a88d
commit
75618d649b
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue