aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/db_csvheader.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/db_csvheader.py b/python/db_csvheader.py
index 45589009..6b9d4f66 100644
--- a/python/db_csvheader.py
+++ b/python/db_csvheader.py
@@ -15,6 +15,7 @@ if __name__ == "__main__":
with open(f"/home/serenitas/flint/{header_name}.csv") as csvfile:
csvreader = csv.reader(csvfile)
for row in csvreader:
+ row = [header.replace("\n", "") for header in row]
try:
with open(f"headers/{file_name}.py", "a") as template_file:
template_file.write(f"\n{header_name}={row}")