From f12d8a8062c39545783a8c78472caba0abf00bf9 Mon Sep 17 00:00:00 2001 From: Dustin Thomas Date: Fri, 1 Mar 2024 19:24:47 -0600 Subject: [PATCH] add print statement --- read_datasheet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/read_datasheet.py b/read_datasheet.py index 6b3273d..5bec00c 100755 --- a/read_datasheet.py +++ b/read_datasheet.py @@ -235,6 +235,8 @@ def flatten(tables): # if the item has at least two commas in it, split it if tables[table][key].count(',') >= 2: out[fullkeyname] = map(lambda x: x.strip(), tables[table][key].split(",")) + print("\"" + keyname + "\":", "\"" + str(out[fullkeyname]) + "\",") + print("}") return out