summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-04-05 11:32:33 -0300
committerChristian Franke <nobody@nowhere.ws>2016-04-05 11:32:33 -0300
commitfb155048661934ac67b48fe201d85a8220516ccd (patch)
treea97973de7961a31eb27b9ec46b45e13792be023e /scripts
parentf1989fe72df0a7cb4394ebe2ab6fe5d8ff408a38 (diff)
Fixup week counting
Diffstat (limited to 'scripts')
-rw-r--r--scripts/calendar_plugin2.py1
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({