aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-09-03 11:02:35 +0200
committercedricbonhomme <devnull@localhost>2010-09-03 11:02:35 +0200
commit9b7c6c741fa19b0ebc1f1df6b82bbc06d5fa38fb (patch)
treec0558ee834ca38e97cd3494fbf3f3db5fccc4992 /pyAggr3g470r.py
parentAdded history page with a tag clouds. (diff)
downloadnewspipe-9b7c6c741fa19b0ebc1f1df6b82bbc06d5fa38fb.tar.gz
newspipe-9b7c6c741fa19b0ebc1f1df6b82bbc06d5fa38fb.tar.bz2
newspipe-9b7c6c741fa19b0ebc1f1df6b82bbc06d5fa38fb.zip
Improvements of the history page.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py2
1 files changed, 2 insertions, 0 deletions
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 += "<h1>Chose a year</h1></br >\n"
if "year" in querystring:
the_year = querystring.split('-')[0].split(':')[1]
+ if "month" not in querystring:
+ html += "<h1>Chose a month for " + the_year + "</h1></br >\n"
if "month" in querystring:
the_month = querystring.split('-')[1].split(':')[1]
html += "<h1>Articles of "+ calendar.month_name[int(the_month)] + \
bgstack15