diff --git a/api/src/opentrons/protocol_engine/resources/file_provider.py b/api/src/opentrons/protocol_engine/resources/file_provider.py index 6ae1a4a1e89..bf54e703110 100644 --- a/api/src/opentrons/protocol_engine/resources/file_provider.py +++ b/api/src/opentrons/protocol_engine/resources/file_provider.py @@ -148,6 +148,6 @@ async def write_csv(self, write_data: GenericCsvTransform) -> str: f"Not enough space to store file {write_data.filename}." ) if self._data_files_write_csv_callback is not None: - await self._data_files_write_csv_callback(write_data) + return await self._data_files_write_csv_callback(write_data) # If we are in an analysis or simulation state, return an empty file ID return ""