Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 19, 2024
1 parent df1f89a commit b560e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prettytable/prettytable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@ def _stringify_title(self, title, options):
bits.append(endpoint)
title = " " * lpad + title + " " * rpad
lpad, rpad = self._get_padding_widths(options)
sum_widths = sum((n + lpad + rpad + 1 for n in self._widths))
sum_widths = sum(n + lpad + rpad + 1 for n in self._widths)

bits.append(self._justify(title, sum_widths - 1, "c"))
bits.append(endpoint)
Expand Down

0 comments on commit b560e2e

Please sign in to comment.