From 56fdb6e0f186b9e8e1e606cfd3a98b84d9dceb8f Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Wed, 6 Sep 2023 22:10:11 -0700 Subject: [PATCH] Fix filtering in unpack_dependencies --- lutris/util/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lutris/util/strings.py b/lutris/util/strings.py index 3d3b04b84..da04f5e5f 100644 --- a/lutris/util/strings.py +++ b/lutris/util/strings.py @@ -98,7 +98,7 @@ def unpack_dependencies(string: str) -> List[Union[str, tuple]]: if not string: return [] - return [_expand_dep(dep) for dep in string.split(",") if dep.strip()] + return [dep for dep in [_expand_dep(dep) for dep in string.split(",")] if dep] def gtk_safe(string: str) -> str: