aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/configs/manager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py
index 07f6f77..6c50702 100644
--- a/fg21sim/configs/manager.py
+++ b/fg21sim/configs/manager.py
@@ -131,8 +131,7 @@ class ConfigManager:
If the ``userconfig`` provided, the user configurations is also
loaded, validated, and merged.
"""
- configspec = pkg_resources.resource_string(
- __name__, "config.spec").decode("utf-8")
+ configspec = pkg_resources.resource_stream(__name__, "config.spec")
self._configspec = ConfigObj(configspec, interpolation=False,
list_values=False, _inspec=True,
encoding="utf-8")