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