diff --git a/legendary/lfs/lgndry.py b/legendary/lfs/lgndry.py index d7ccd20..6c003a0 100644 --- a/legendary/lfs/lgndry.py +++ b/legendary/lfs/lgndry.py @@ -33,7 +33,6 @@ class LGDLFS: self._update_info = None # Config with game specific settings (e.g. start parameters, env variables) self.config = LGDConf(comment_prefixes='/', allow_no_value=True) - self.config.optionxform = str # ensure folders exist. for f in ['', 'manifests', 'metadata', 'tmp']: diff --git a/legendary/utils/config.py b/legendary/utils/config.py index 1036aec..5f4ea6a 100644 --- a/legendary/utils/config.py +++ b/legendary/utils/config.py @@ -9,6 +9,7 @@ class LGDConf(configparser.ConfigParser): self.read_only = False self.modtime = None super().__init__(*args, **kwargs) + self.optionxform = str def read(self, filename): # if config file exists, save modification time