From 2b8703346a0b3788103e597dcf5767df3b3b8c9d Mon Sep 17 00:00:00 2001 From: Daniel Johnson Date: Sat, 13 Jan 2024 08:45:34 -0500 Subject: [PATCH] Check for the appid before loading extras. You can have a GOG game off the Lutris website that does not download from GOG - you provide the installer file. "Alient Shooter" is one of these. In this case, we have no appid and can get no extras, and we should not try to get them. --- lutris/installer/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lutris/installer/interpreter.py b/lutris/installer/interpreter.py index 823227d40..b549421dd 100644 --- a/lutris/installer/interpreter.py +++ b/lutris/installer/interpreter.py @@ -201,7 +201,7 @@ class ScriptInterpreter(GObject.Object, CommandsMixin): def get_extras(self): """Get extras and store them to move them at the end of the install""" - if not self.service or not self.service.has_extras: + if not self.service or not self.service.has_extras or not self.installer.service_appid: return [] return self.service.get_extras(self.installer.service_appid)