diff --git a/premise/inventory_imports.py b/premise/inventory_imports.py index 8c255860..0127f08f 100644 --- a/premise/inventory_imports.py +++ b/premise/inventory_imports.py @@ -726,8 +726,8 @@ def add_biosphere_links(self) -> None: print( f"Could not find a biosphere flow for {key} in {self.path.name}. You need to fix this." ) - # remove the exchange if it is not linked - y["delete"] = True + # remove the exchange if it is not linked + y["delete"] = True x["exchanges"] = [y for y in x["exchanges"] if "delete" not in y]