diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/collect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py index 9874b4a4..891da437 100644 --- a/wqflask/wqflask/collect.py +++ b/wqflask/wqflask/collect.py @@ -237,7 +237,7 @@ def import_collection(): file_path = os.path.join(TEMPDIR, import_file.filename) import_file.save(file_path) collection_csv = open(file_path, "r") - traits = [row.strip() for row in collection_csv] + traits = [row.strip() for row in collection_csv if row[0] != "#"] os.remove(file_path) return json.dumps(traits) |