Skip to content

Commit

Permalink
merged develop into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ciansen committed Sep 26, 2023
1 parent 9669586 commit 803cc36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/assets/scriptor/csvwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -113,7 +113,7 @@ async def flush(self):
## Flushing the header
await super().write(content)


self._writer.clear()

async def __aenter__(self):
Expand Down

0 comments on commit 803cc36

Please sign in to comment.