diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-16 14:12:20 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-16 14:12:20 +0800 |
commit | b32106dbe5008b9125d4a31fa87bb155358b03b7 (patch) | |
tree | 43af3d8af06c1b09b958d48b9271333ca452fd05 /fg21sim | |
parent | 761870b3da640dd727733d2a76fb9d7c88e8b7dc (diff) | |
download | fg21sim-b32106dbe5008b9125d4a31fa87bb155358b03b7.tar.bz2 |
configs/manager.py: Also dump the "userconfig" value
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/configs/manager.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py index eb6b1d0..59af78a 100644 --- a/fg21sim/configs/manager.py +++ b/fg21sim/configs/manager.py @@ -525,12 +525,15 @@ class ConfigManager: NOTE ---- - The original option orders are missing. + * The original option orders are missing. + * The ``self.userconfig`` is also dumped. """ if from_default: data = self._config_default.dict() else: data = self._config.dict() + # Also dump the "userconfig" value + data["userconfig"] = self.userconfig # if flatten: data = _flatten_dict(data) |