From 60803afe8f607dc140b7b83794354a5a6ec9e743 Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Mon, 24 Mar 2014 11:04:49 +0400 Subject: [PATCH] Misprint fixed in table formatter --- modules/ts/misc/table_formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ts/misc/table_formatter.py b/modules/ts/misc/table_formatter.py index 9baff0f797..2e1467b801 100755 --- a/modules/ts/misc/table_formatter.py +++ b/modules/ts/misc/table_formatter.py @@ -426,7 +426,7 @@ class table(object): if r == 0: css = css[:-1] + "border-top:2px solid #6678B1;\"" out.write(" \n" % (attr, css)) - if th is not None: + if td is not None: out.write(" %s\n" % htmlEncode(td.text)) out.write(" \n") i += colspan