Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion json_to_csv/json_to_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ def _flatten(d, parent_key='', sep='_', int_to_float=False):
elif isinstance(w, str):
my_elems.append('"' + w + '"')
continue
else:
elif w != None:
my_elems.append(w)
continue
else:
continue
# Put in in alphabetical order
my_elems_w = sorted(my_elems_w, key=lambda tup: tup[0])

Expand Down