changeset 169:1736fd6ae3e8

fixed html template error
author catherine@Elli.myhome.westell.com
date Wed, 22 Oct 2008 22:59:47 -0400
parents 35ed0e0c63d9
children 1e0e769ced2e
files sqlpython/output_templates.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/output_templates.py	Wed Oct 22 22:55:38 2008 -0400
+++ b/sqlpython/output_templates.py	Wed Oct 22 22:59:47 2008 -0400
@@ -30,8 +30,8 @@
           <span py:replace="colname.lower()">Column Name</span>
         </th>
       </tr>
-      <tr py:for="(colname, row) in zip(colnames, rows)">
-        <td py:for="itm in row" py:attrs="{'headers':'header_' + colname.lower()}">
+      <tr py:for="row in rows">
+        <td py:for="(colname, itm) in zip(colnames, row)" py:attrs="{'headers':'header_' + colname.lower()}">
           <span py:replace="str(itm)">Value</span>
         </td>
       </tr>