fix map datatype
This commit is contained in:
parent
2c242aac29
commit
6edd0b4ef0
@ -236,7 +236,7 @@ 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(","))
|
||||
out[fullkeyname] = list(map(lambda x: x.strip(), tables[table][key].split(",")))
|
||||
print("\"" + keyname + "\":", "\"" + str(out[fullkeyname]) + "\",")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user