Skip to content

Commit b9eab83

Browse files
committed
docs(readme): fix typo in example
1 parent 1e65031 commit b9eab83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ output = table2ascii(
7272
header=["#", "G", "H", "R", "S"],
7373
body=[["1", "30", "40", "35", "30"], ["2", "30", "40", "35", "30"]],
7474
first_col_heading=True,
75-
column_widths=[5, 5, 5, 5, 5]
76-
alignments=[Alignment.LEFT, Alignment.RIGHT, Alignment.RIGHT, Alignment.RIGHT, Alignment.RIGHT],
75+
column_widths=[5, 5, 5, 5, 5],
76+
alignments=[Alignment.LEFT] + [Alignment.RIGHT] * 4,
7777
)
7878

7979
print(output)

0 commit comments

Comments
 (0)