Commit 3c1a4794 authored by Vincent Pelletier's avatar Vincent Pelletier

Replace "period" with actual period caption.

parent 8b3eb763
...@@ -993,8 +993,8 @@ def asHTML(out, encoding, per_site, args, default_site, period_parameter_dict, ...@@ -993,8 +993,8 @@ def asHTML(out, encoding, per_site, args, default_site, period_parameter_dict,
): ):
out.write('<tr><th class="text">%s</th><td>%s</td></tr>' % ( out.write('<tr><th class="text">%s</th><td>%s</td></tr>' % (
caption, value)) caption, value))
out.write('</table><h2>Hits per period</h2><table class="stats">' out.write('</table><h2>Hits per %s</h2><table class="stats">'
'<tr><th>date</th><th>hits</th></tr>') '<tr><th>date</th><th>hits</th></tr>' % period)
hit_per_day = defaultdict(int) hit_per_day = defaultdict(int)
x_min = LARGER_THAN_INTEGER_STR x_min = LARGER_THAN_INTEGER_STR
x_max = None x_max = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment