Fixed a header update error in evtable.
This commit is contained in:
parent
dac5ca99cd
commit
666d2e6d17
1 changed files with 1 additions and 1 deletions
|
|
@ -1013,7 +1013,7 @@ class EvTable(object):
|
||||||
excess = len(header) - len(table)
|
excess = len(header) - len(table)
|
||||||
if excess > 0:
|
if excess > 0:
|
||||||
# header bigger than table
|
# header bigger than table
|
||||||
self.table.extend([] for i in xrange(excess))
|
table.extend([] for i in xrange(excess))
|
||||||
elif excess < 0:
|
elif excess < 0:
|
||||||
# too short header
|
# too short header
|
||||||
header.extend(_to_ansi(["" for i in xrange(abs(excess))]))
|
header.extend(_to_ansi(["" for i in xrange(abs(excess))]))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue