mirror of
https://github.com/minetest/contentdb.git
synced 2025-03-30 14:52:30 +02:00
Fix license editor crash (#410)
This commit is contained in:
@ -34,7 +34,7 @@ def license_list():
|
|||||||
class LicenseForm(FlaskForm):
|
class LicenseForm(FlaskForm):
|
||||||
name = StringField("Name", [InputRequired(), Length(3, 100)])
|
name = StringField("Name", [InputRequired(), Length(3, 100)])
|
||||||
is_foss = BooleanField("Is FOSS")
|
is_foss = BooleanField("Is FOSS")
|
||||||
url = URLField("URL", [Optional], filters=[nonEmptyOrNone])
|
url = URLField("URL", [Optional()], filters=[nonEmptyOrNone])
|
||||||
submit = SubmitField("Save")
|
submit = SubmitField("Save")
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user