[lfs] Do not remove comments from ini files

Fixes #105
This commit is contained in:
derrod 2020-10-24 19:23:40 +02:00
parent d95fd20e76
commit d842780c73

View file

@ -27,7 +27,7 @@ class LGDLFS:
# EGS metadata
self._game_metadata = dict()
# Config with game specific settings (e.g. start parameters, env variables)
self.config = configparser.ConfigParser()
self.config = configparser.ConfigParser(comment_prefixes='/', allow_no_value=True)
self.config.optionxform = str
# ensure folders exist.