Skip to content

Commit

Permalink
flake8 issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
amirziai committed Feb 20, 2021
1 parent 92284cf commit 848ad61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flatten_json/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ def _flatten(object_, key):

elif isinstance(object_, (list, set, tuple)):
for index, item in enumerate(object_):
key = _construct_key(key, separator, index, replace_separators=replace_separators)
key = _construct_key(key, separator, index,
replace_separators=replace_separators)
_flatten(item, key)

else:
Expand Down

0 comments on commit 848ad61

Please sign in to comment.