diff --git a/src/regtech_data_validator/data_formatters.py b/src/regtech_data_validator/data_formatters.py index 8c2def7..faf7864 100644 --- a/src/regtech_data_validator/data_formatters.py +++ b/src/regtech_data_validator/data_formatters.py @@ -134,8 +134,7 @@ def df_to_download( ) empty_df.write_csv(buffer, quote_style='non_numeric', include_header=True) buffer.seek(0) - return buffer - # return buffer.getvalue() + return buffer.getvalue() # get the check for the phase the results were in, so we can pull out static data from each # found check @@ -197,8 +196,7 @@ def df_to_download( sorted_df.write_csv(buffer, quote_style='non_numeric', include_header=False) buffer.seek(0) - return buffer - # return buffer.getvalue() + return buffer.getvalue() def df_to_csv(df: pl.DataFrame) -> str: