-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Hello,
(Python 2.7.5) I'm trying to use the --types option : --types zzz.csv with zzz.csv containing
string,real,string,string,string,string,string,string
but all I get is an error which I am unable to fix :
python csv2sqlite.py --types zzz.csv zAF_UTF8.csv base.sqlite DEM
Traceback (most recent call last):
File "csv2sqlite.py", line 207, in
convert(args.csv_file, args.sqlite_db_file, args.table_name, args.headers, compression, args.types)
File "csv2sqlite.py", line 69, in convert
to.close()
AttributeError: 'list' object has no attribute 'close'
I get the same error with zzz.csv =
"string","real","string","string","string","string","string","string"
string;real;string;string;string;string;string;string
"string";"real";"string";"string";"string";"string";"string";"string"