Skip to content

Commit

Permalink
Fix a stack in the table render
Browse files Browse the repository at this point in the history
Happened when a cell content is None.
  • Loading branch information
cvaroqui committed Jun 9, 2023
1 parent b1e0d8a commit 6f3f5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensvc/utilities/render/table/__init__.py
Expand Up @@ -141,7 +141,7 @@ def print_table_default(data):
for j, d in enumerate(data):
print("-")
for i, label in enumerate(labels):
val = '\n'.join(wrap(convert(d[i]),
val = '\n'.join(wrap(convert(d[i] or ""),
initial_indent = "",
subsequent_indent = subsequent_indent,
width=78
Expand Down

0 comments on commit 6f3f5ec

Please sign in to comment.