From 803cc36af8426e7287c76c5f0ef930c3ac8dbfaa Mon Sep 17 00:00:00 2001 From: "co@mausbrand.de" Date: Tue, 26 Sep 2023 10:17:47 +0200 Subject: [PATCH] merged develop into main --- src/assets/scriptor/csvwriter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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):