Minor formatting and syntax fix.
This commit is contained in:
@@ -21,6 +21,7 @@ from mediagoblin.tools.text import tag_length_validator
|
||||
from mediagoblin.tools.translate import fake_ugettext_passthrough as _
|
||||
from mediagoblin.tools.licenses import licenses_as_choices
|
||||
|
||||
|
||||
class SubmitStartForm(wtforms.Form):
|
||||
file = wtforms.FileField(_('File'))
|
||||
title = wtforms.TextField(
|
||||
|
||||
@@ -69,7 +69,7 @@ def submit_start(request):
|
||||
entry.description_html = cleaned_markdown_conversion(
|
||||
entry.description)
|
||||
|
||||
entry['license'] = (
|
||||
entry.license = (
|
||||
unicode(request.POST.get('license'))
|
||||
or '')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user