mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Fix setting "disable_sdl" config option
These have to be strings, whoops.
This commit is contained in:
parent
013f7d4bde
commit
c6e622f3ae
|
@ -911,7 +911,7 @@ class LegendaryCLI:
|
||||||
if config_tags:
|
if config_tags:
|
||||||
self.core.lgd.config.remove_option(game.app_name, 'install_tags')
|
self.core.lgd.config.remove_option(game.app_name, 'install_tags')
|
||||||
config_tags = None
|
config_tags = None
|
||||||
self.core.lgd.config.set(game.app_name, 'disable_sdl', True)
|
self.core.lgd.config.set(game.app_name, 'disable_sdl', 'true')
|
||||||
sdl_enabled = False
|
sdl_enabled = False
|
||||||
# just disable SDL, but keep config tags that have been manually specified
|
# just disable SDL, but keep config tags that have been manually specified
|
||||||
elif config_disable_sdl or args.disable_sdl:
|
elif config_disable_sdl or args.disable_sdl:
|
||||||
|
|
Loading…
Reference in a new issue