diff options
author | Christian Franke <nobody@nowhere.ws> | 2016-04-05 11:32:33 -0300 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2016-04-05 11:32:33 -0300 |
commit | fb155048661934ac67b48fe201d85a8220516ccd (patch) | |
tree | a97973de7961a31eb27b9ec46b45e13792be023e | |
parent | f1989fe72df0a7cb4394ebe2ab6fe5d8ff408a38 (diff) |
Fixup week counting
-rw-r--r-- | scripts/calendar_plugin2.py | 1 |
1 files changed, 1 insertions, 0 deletions
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({ |