mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02:00
When a CSV file contains NUL bytes the csv module raises _csv.Error: line contains NUL, crashing the insert command without a useful error message. Stripping \x00 from each line before passing it to the reader preserves all meaningful data while matching the behaviour users expect. Fixes #582. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| cli.py | ||
| db.py | ||
| hookspecs.py | ||
| migrations.py | ||
| plugins.py | ||
| py.typed | ||
| recipes.py | ||
| utils.py | ||