optimized ansi parsing a bit as well as did some general cleanup.

This commit is contained in:
Griatch 2014-03-01 17:06:04 +01:00
parent 2aa9ef9997
commit ef8755581c
3 changed files with 68 additions and 58 deletions

View file

@ -217,7 +217,7 @@ def format_script_list(scripts):
table = EvTable("{wdbref{n", "{wobj{n", "{wkey{n", "{wintval{n", "{wnext{n",
"{wrept{n", "{wdb", "{wtypeclass{n", "{wdesc{n",
align='r', border="cells")
align='r', border="tablecols")
for script in scripts:
nextrep = script.time_until_next_repeat()
if nextrep is None: