mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Fix crash on bad wtforms validator instace
This commit is contained in:
parent
054dfa4cbd
commit
0ac2827468
@ -55,7 +55,7 @@ class CreatePackageReleaseForm(FlaskForm):
|
||||
|
||||
class EditPackageReleaseForm(FlaskForm):
|
||||
title = StringField("Title", [InputRequired(), Length(1, 30)])
|
||||
url = StringField("URL", [URL])
|
||||
url = StringField("URL", [URL()])
|
||||
task_id = StringField("Task ID", filters = [lambda x: x or None])
|
||||
approved = BooleanField("Is Approved")
|
||||
min_rel = QuerySelectField("Minimum Minetest Version", [InputRequired()],
|
||||
|
Loading…
Reference in New Issue
Block a user