mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[core] Fix crash when game config section is missing
This commit is contained in:
parent
9867c5f492
commit
e3ad2d8de9
|
@ -254,7 +254,7 @@ class LegendaryCore:
|
|||
|
||||
params = []
|
||||
|
||||
if wrapper or (wrapper := self.lgd.config.get(app_name, 'wrapper')):
|
||||
if wrapper or (wrapper := self.lgd.config.get(app_name, 'wrapper', fallback=None)):
|
||||
params.extend(shlex.split(wrapper))
|
||||
|
||||
if os.name != 'nt' and not disable_wine:
|
||||
|
|
Loading…
Reference in a new issue