mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Fix crash on release validation
This commit is contained in:
parent
5a4238dabc
commit
2303e70a8e
@ -167,7 +167,7 @@ def post_release_check_update(self, release: PackageRelease, path):
|
||||
for game in get_games_from_list(db.session, tree.meta["supported_games"]):
|
||||
game_is_supported[game.id] = True
|
||||
|
||||
has_star = any(map(lambda x: x.strip() == "*", tree.meta["supported_games"].split(",")))
|
||||
has_star = any(map(lambda x: x.strip() == "*", tree.meta["supported_games"]))
|
||||
if has_star:
|
||||
if package.type == PackageType.TXP or \
|
||||
package.supported_games.filter(and_(
|
||||
|
Loading…
Reference in New Issue
Block a user