]> piware.de Git - bin.git/commit
consors-report: Adjust to format change in May 2024
authorMartin Pitt <martin@piware.de>
Thu, 2 May 2024 05:54:03 +0000 (07:54 +0200)
committerMartin Pitt <martin@piware.de>
Thu, 2 May 2024 05:54:03 +0000 (07:54 +0200)
commit8e8cb09025a73f6a41c347037f70e3e9df5707e7
tree0aaaec6a93875148206cdfd3d27bfa03faf7e661
parent22da5c79e5e1edf75b0899268d7528a71d0b5139
consors-report: Adjust to format change in May 2024

Consors changed back to semicolon separator (see commit 6da88a57b007c9),
and added a 9th field "Währung".

Convert the older CSVs with
```py
import csv
import sys

with open(sys.argv[1], 'r') as csvfile:
    reader = csv.reader(csvfile, delimiter=',', quotechar='"')
    writer = csv.writer(sys.stdout, delimiter=';', quotechar='"')
    for row in reader:
        writer.writerow(row)
```
consors-report.py