diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index fc1d4faea..36d8949ba 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -426,7 +426,8 @@ class WebCalReport(Report): num_years = (self.end_year - self.start_year) cal_year = self.start_year - for rows in range((num_years // 16) + 1): + nrows = (num_years / 16) + for rows in range(0, (nrows + 1)): of.write('