diff query_tabular.py @ 7:72c32037fa1e draft

Uploaded
author jjohnson
date Sat, 18 Feb 2017 08:35:35 -0500
parents 03842a4f71c6
children ae27dab228b8
line wrap: on
line diff
--- a/query_tabular.py	Fri Feb 17 15:20:24 2017 -0500
+++ b/query_tabular.py	Sat Feb 18 08:35:35 2017 -0500
@@ -217,8 +217,6 @@
         for linenum, fields in enumerate(tr):
             data_lines += 1
             try:
-                if col_idx:
-                    fields = [fields[i] for i in col_idx]
                 vals = [col_func[i](x) if x else None for i, x in enumerate(fields)]
                 c.execute(insert_stmt, vals)
             except Exception, e: