mirror of
https://github.com/lutris/lutris
synced 2024-10-14 19:53:53 +00:00
Also handle errors in on_files_prepared()
It is the same special case so we go back to a previous page.
This commit is contained in:
parent
9a4b9a0783
commit
ddbf87a70c
|
@ -589,7 +589,11 @@ class InstallerWindow(ModelessDialog,
|
|||
|
||||
AsyncCall(self.interpreter.installer.prepare_game_files, self.on_files_prepared, patch_version)
|
||||
|
||||
def on_files_prepared(self, _result, _error):
|
||||
def on_files_prepared(self, _result, error):
|
||||
if error:
|
||||
self._handle_callback_error(error)
|
||||
return
|
||||
|
||||
if not self.interpreter.installer.files:
|
||||
logger.debug("Installer doesn't require files")
|
||||
self.launch_installer_commands()
|
||||
|
|
Loading…
Reference in a new issue