From 9b7c6c741fa19b0ebc1f1df6b82bbc06d5fa38fb Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Fri, 3 Sep 2010 11:02:35 +0200 Subject: Improvements of the history page. --- pyAggr3g470r.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pyAggr3g470r.py') diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index aed658c8..b9b8f9c1 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -589,6 +589,8 @@ class Root: html += "

Chose a year


\n" if "year" in querystring: the_year = querystring.split('-')[0].split(':')[1] + if "month" not in querystring: + html += "

Chose a month for " + the_year + "


\n" if "month" in querystring: the_month = querystring.split('-')[1].split(':')[1] html += "

Articles of "+ calendar.month_name[int(the_month)] + \ -- cgit