Skip to content

Commit

Permalink
Fix issue when iterating over the query parameters:
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Brosnan-Blazquez committed Jul 9, 2018
1 parent bba42af commit b35c7a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sqltap/templates/html.mako
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ ${group.first_word}
<tr class="${'hidden' if idx >= 3 else ''}">
<td>${'%.3f' % query.duration}</td>
% for param_name in params:
<td>${query.params.get(param_name, '')}</td>
% if param_name in query.params:
<td>${query.params[param_name]}</td>
% endif
% endfor
<td>${'%d' % query.rowcount}</td>
<td>${'%d' % query.params_id}</td>
Expand Down

0 comments on commit b35c7a3

Please sign in to comment.