fix col_names realm issue

This commit is contained in:
Matthew Stidham
2021-01-27 12:46:58 -08:00
committed by Jed Reynolds
parent ea80924d70
commit 4316830314

View File

@@ -1173,7 +1173,7 @@ class L3CXProfile(BaseProfile):
# Step 1, column names . what is this for?
fields=None
if 'Name' not in col_names':
if 'Name' not in col_names:
col_names.insert(0,'Name')
if col_names is not None and len(col_names) > 0:
fields = ",".join(col_names)