Commit 42e882cf authored by CubicERP Team yt's avatar CubicERP Team yt

[FIX] csv with one line

parent 4e8616a0
......@@ -241,6 +241,7 @@ class cbc_etl(object):
footers = [r for r in reader]
reader = csv.DictReader(fl,fieldnames=cols or None, delimiter=resource['txt_separator'] or ',', quotechar=resource['txt_quote'] or '"')
rows = []
for r in reader:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment