From fb155048661934ac67b48fe201d85a8220516ccd Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 5 Apr 2016 11:32:33 -0300 Subject: Fixup week counting --- scripts/calendar_plugin2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/calendar_plugin2.py b/scripts/calendar_plugin2.py index 7138655..ea44483 100644 --- a/scripts/calendar_plugin2.py +++ b/scripts/calendar_plugin2.py @@ -67,6 +67,7 @@ class TabularCalendarPlugin: active_month = cur_month if cur_week != active_week: months[-1]['weeks'].append([]) + active_week = cur_week week_list = months[-1]['weeks'][-1] week_list.append({ -- cgit v1.2.1