diff --git a/unfold/unfold.py b/unfold/unfold.py index 4f196ef..41f66f4 100644 --- a/unfold/unfold.py +++ b/unfold/unfold.py @@ -1266,6 +1266,6 @@ def write(self, superstructure: bool = False, export_dir: str = None): correct_fields_format( self.database, self.name or self.package.descriptor["name"] ) - BW2UnfoldExporter( + write_brightway_database( self.name or self.package.descriptor["name"], self.database ).write_database()