mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
Fix excess blank lines in Evtable options. Resolve #3027.
This commit is contained in:
parent
f6cc41dcbd
commit
555d03d931
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## Main
|
||||
|
||||
- Bug fix: Evtable options showed spurious empty lines if set without desc
|
||||
|
||||
## Evennia 1.2.0
|
||||
|
||||
- Bug fix: `TagHandler.get` did not consistently cast to string (aMiss-aWry)
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ from copy import copy, deepcopy
|
|||
from textwrap import TextWrapper
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
from evennia.utils.ansi import ANSIString
|
||||
from evennia.utils.utils import display_len as d_len
|
||||
from evennia.utils.utils import is_iter, justify
|
||||
|
|
@ -1543,7 +1542,6 @@ class EvTable:
|
|||
# we need to add new rows to new column
|
||||
empty_rows = ["" for _ in range(abs(excess))]
|
||||
column.add_rows(*empty_rows, **options)
|
||||
self.nrows -= excess
|
||||
|
||||
if xpos is None or xpos > wtable - 1:
|
||||
# add to the end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue