Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

Commit e40ec4c

Browse files
committed
fix
1 parent 550118f commit e40ec4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

facets_overview/python/base_generic_feature_statistics_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def GetDatasetsProto(self, datasets, features=None,
272272
for val_index, val in enumerate(sorted_vals):
273273
try:
274274
if (sys.version_info.major < 3 or
275-
isinstance(data, (bytes, bytearray))):
275+
isinstance(val[1], (bytes, bytearray))):
276276
printable_val = val[1].decode('UTF-8', 'strict')
277277
else:
278278
printable_val = val[1]

0 commit comments

Comments
 (0)