Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use csv for csv formatting #244

Closed
wants to merge 1 commit into from
Closed

use csv for csv formatting #244

wants to merge 1 commit into from

Conversation

janstarke
Copy link
Contributor

Some lines in Lokis csv output contain a comma character in the last (message) field, which breaks csv parsers. So I suggest to use the csv package to generate a compliant csv output (which effectively adds quote characters to such fields).

However, importing csv conflicts with the varable csv, so I head to rename it. To maintain maximum compatibility, I used csv.QUOTE_MINIMAL, so that only lines with a comma in the values are affected by this change.

Regards, Jan

@janstarke janstarke closed this by deleting the head repository Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant