mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-24 06:51:29 +01:00
parent
a3b3525b78
commit
2aa0c3cc84
@ -289,6 +289,9 @@ def create_edit(author=None, name=None):
|
|||||||
form.tags.data = list(package.tags)
|
form.tags.data = list(package.tags)
|
||||||
form.content_warnings.data = list(package.content_warnings)
|
form.content_warnings.data = list(package.content_warnings)
|
||||||
|
|
||||||
|
if request.method == "POST" and form.type.data == PackageType.TXP:
|
||||||
|
form.license.data = form.media_license.data
|
||||||
|
|
||||||
if request.method == "POST" and form.validate():
|
if request.method == "POST" and form.validate():
|
||||||
wasNew = False
|
wasNew = False
|
||||||
if not package:
|
if not package:
|
||||||
|
Loading…
Reference in New Issue
Block a user