mirror of
https://github.com/derrod/legendary.git
synced 2025-01-09 06:05:28 +00:00
[lfs] Allow more common characters as comment prefixes
In addition to the "/" character, this also allows ";" and "#" to be used as comment prefix characters in "config.ini".
This commit is contained in:
parent
3963382b3f
commit
3011788cdd
|
@ -47,7 +47,7 @@ class LGDLFS:
|
|||
self._overlay_update_info = None
|
||||
self._overlay_install_info = None
|
||||
# Config with game specific settings (e.g. start parameters, env variables)
|
||||
self.config = LGDConf(comment_prefixes='/', allow_no_value=True)
|
||||
self.config = LGDConf(comment_prefixes=(';', '#', '/'), allow_no_value=True)
|
||||
|
||||
if config_file:
|
||||
# if user specified a valid relative/absolute path use that,
|
||||
|
|
Loading…
Reference in a new issue