Skip to content

Commit

Permalink
Fix undefined name
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 10, 2019
1 parent 0987383 commit e3b445c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tablib/formats/_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def export_set_as_simple_table(cls, dataset, column_widths=None):
lines = []
wrapper = TextWrapper()
if column_widths is None:
column_widths = _get_column_widths(dataset, pad_len=2)
column_widths = cls._get_column_widths(dataset, pad_len=2)
border = " ".join(["=" * w for w in column_widths])

lines.append(border)
Expand Down

0 comments on commit e3b445c

Please sign in to comment.