diff --git a/schemasheets/schema_exporter.py b/schemasheets/schema_exporter.py index 3f7d474..6fdb8c4 100644 --- a/schemasheets/schema_exporter.py +++ b/schemasheets/schema_exporter.py @@ -280,12 +280,12 @@ def repl(v: Any) -> Optional[str]: # representation if isinstance(v, list): v = [repl(v1) for v1 in v if repl(v1) is not None] - v = '|'.join(v) + v = '|'.join([str(i) for i in v]) if v != '': exported_row[col_name] = v elif isinstance(v, dict): v = [repl(v1) for v1 in v.values() if repl(v1) is not None] - v = '|'.join(v) + v = '|'.join([str(i) for i in v]) if v != '': exported_row[col_name] = v else: