Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Spacca committed Dec 9, 2023
1 parent 34af9ef commit 1dc42f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ def wrapper(
_handle_offset(len(data) + len(newline), json_collector_state)
yield data, starting_offset, ending_offset, newline, None

# it has not a json object start, let's apply our logic
# it has a json object start, let's apply our logic
if json_collector_state.has_an_object_start:
# it is a single json and we have a field expander, let's yield the content
# it is a single json and we have not a field expander, let's yield the content
if event_list_from_field_expander is None and storage.json_content_type == "single":
yield data, starting_offset, ending_offset, newline, None
else:
Expand Down

0 comments on commit 1dc42f3

Please sign in to comment.