diff --git a/skycatalogs/objects/base_config_fragment.py b/skycatalogs/objects/base_config_fragment.py index b517fdcc..4ac35fc4 100644 --- a/skycatalogs/objects/base_config_fragment.py +++ b/skycatalogs/objects/base_config_fragment.py @@ -60,8 +60,7 @@ def generic_create(self): for key in opt: if opt[key] is not None: other[key] = opt[key] - if len(other.keys()) > 0: - data.update(other) + data.update(other) data['provenance'] = self._prov return data