mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +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
|
self.fields['lexer'].initial = session_lexer
|
||||||
|
|
||||||
# if the lexer is given via GET, set it
|
# 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']
|
self.fields['lexer'].initial = request.GET['l']
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue