Skip to content

Commit 0ab5952

Browse files
GallaeciowRAR
andauthored
Update scrapinghub/hubstorage/serialization.py
Co-authored-by: Andrey Rakhmatullin <[email protected]>
1 parent dfe4d39 commit 0ab5952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapinghub/hubstorage/serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
def jlencode(iterable):
16-
if isinstance(iterable, (dict, (str,))):
16+
if isinstance(iterable, (dict, str)):
1717
iterable = [iterable]
1818
return '\n'.join(jsonencode(o) for o in iterable)
1919

0 commit comments

Comments
 (0)