mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-24 06:51:29 +01:00
Fix attempt to call module list
This commit is contained in:
parent
a7103b5b35
commit
14fd30c4f4
@ -296,8 +296,8 @@ def create_edit(author=None, name=None):
|
|||||||
form.license.data = None
|
form.license.data = None
|
||||||
form.media_license.data = None
|
form.media_license.data = None
|
||||||
else:
|
else:
|
||||||
form.tags.data = list(package.tags)
|
form.tags.data = package.tags
|
||||||
form.content_warnings.data = list(package.content_warnings)
|
form.content_warnings.data = package.content_warnings
|
||||||
|
|
||||||
if request.method == "POST" and form.type.data == PackageType.TXP:
|
if request.method == "POST" and form.type.data == PackageType.TXP:
|
||||||
form.license.data = form.media_license.data
|
form.license.data = form.media_license.data
|
||||||
|
Loading…
Reference in New Issue
Block a user