Skip to content

Commit

Permalink
Update scrapinghub/hubstorage/serialization.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Rakhmatullin <[email protected]>
  • Loading branch information
Gallaecio and wRAR authored Dec 16, 2024
1 parent dfe4d39 commit 0ab5952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapinghub/hubstorage/serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


def jlencode(iterable):
if isinstance(iterable, (dict, (str,))):
if isinstance(iterable, (dict, str)):
iterable = [iterable]
return '\n'.join(jsonencode(o) for o in iterable)

Expand Down

0 comments on commit 0ab5952

Please sign in to comment.