fix padding in generic text
This commit is contained in:
parent
8a871e6f19
commit
030d6906cd
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class GenericText:
|
||||||
try:
|
try:
|
||||||
line = '% ' + line.rstrip().format(**kwargs)
|
line = '% ' + line.rstrip().format(**kwargs)
|
||||||
if padding:
|
if padding:
|
||||||
line = line.ljust(77) + ' %'
|
line = line.ljust(79) + '%'
|
||||||
if len(line) > 80:
|
if len(line) > 80:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
'Line too long') # TODO
|
'Line too long') # TODO
|
||||||
|
|
Loading…
Reference in a new issue