From 2303e70a8e4766941046292e996514509afb5f25 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 10 Jan 2024 00:29:55 +0000 Subject: [PATCH] Fix crash on release validation --- app/tasks/importtasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tasks/importtasks.py b/app/tasks/importtasks.py index 76898c5a..ca81115e 100644 --- a/app/tasks/importtasks.py +++ b/app/tasks/importtasks.py @@ -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_(