Skip to content

Commit a9f5d65

Browse files
committed
Test of tuple type
1 parent be0a54f commit a9f5d65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

toon/encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _encode_tuple(value: tuple) -> str:
184184
if not value:
185185
return '[]'
186186

187-
tuple_data = ','.join(str(v) for v in value)
187+
tuple_data = ','.join(_encode_primitive_value(v) for v in value)
188188
tuple_string = f'[{tuple_data}]'
189189

190190
return tuple_string

0 commit comments

Comments
 (0)