diff --git a/src/assets/scriptor/csvwriter.py b/src/assets/scriptor/csvwriter.py index 5819884..a8918b5 100644 --- a/src/assets/scriptor/csvwriter.py +++ b/src/assets/scriptor/csvwriter.py @@ -94,13 +94,13 @@ def __init__(self, *args, **kwargs): self._writer: MemoryWriter = None self._delimiter = ";" self._formatter = None - + def set_formatter(self, formatter: callable): self._formatter = formatter def set_columns(self, columns: list[str]): self._columns = columns - + def set_delimiter(self, delimiter: str): self._delimiter = delimiter @@ -113,7 +113,7 @@ async def flush(self): ## Flushing the header await super().write(content) - + self._writer.clear() async def __aenter__(self):