From 2c4b548e2c329a67828a1b7304fd03d23243c9dc Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 5 May 2022 19:50:18 +0000 Subject: Export trait string in original format Previously I was splitting by colon to make it comma-delimited, but this is pointless since this file is going to be reformatted with the colons after being imported --- wqflask/wqflask/export_traits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/export_traits.py b/wqflask/wqflask/export_traits.py index 105d81eb..7fab1e10 100644 --- a/wqflask/wqflask/export_traits.py +++ b/wqflask/wqflask/export_traits.py @@ -30,7 +30,7 @@ def export_collection(targs): buff = io.StringIO() writer = csv.writer(buff) for trait in table_rows: - writer.writerow(trait.split(":")) + writer.writerow([trait]) csv_data = buff.getvalue() buff.close() -- cgit v1.2.3