diff --git a/tiramisu/api.py b/tiramisu/api.py index f4c42c4..ce8ffe0 100644 --- a/tiramisu/api.py +++ b/tiramisu/api.py @@ -1303,6 +1303,7 @@ class _TiramisuContextGroupConfig(TiramisuContext): config = self._config_bag.context for spath in spaths: config = config.getconfig(spath) + return Config(config) def copy(self, session_id=None, @@ -1323,8 +1324,6 @@ class _TiramisuContextGroupConfig(TiramisuContext): metaconfig_prefix=metaconfig_prefix, deep=True)) - return Config(config) - def path(self): return self._config_bag.context.cfgimpl_get_config_path()