Fix to get weeks alignment for "blank year" too.

* src/plugins/WebCal.py


svn: r11469
This commit is contained in:
Kees Bakker 2008-12-13 21:19:46 +00:00
parent 688f0f989e
commit 091933b576

View File

@ -732,7 +732,7 @@ class WebCalReport(Report):
# close the week/ row
of.write('\t\t</tr>\n')
if cal == "yg":
if cal in ("yg", "by"):
# Fill up till we have 6 rows, so that the months align properly
for i in range(nweeks, 6):
of.write('\t\t<tr class="week%d">\n' % (i+1))