aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/leapsec.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-06 20:04:39 +0200
committerMattias Andrée <maandree@kth.se>2016-07-06 20:04:39 +0200
commita8b3225519bb5df5c851ed57fb4ead4dda1f63ac (patch)
treef232e4895d010bbe79b4e8b58208335005aeb315 /src/plugins/leapsec.py
parentRemove dist (diff)
downloadxpybar-a8b3225519bb5df5c851ed57fb4ead4dda1f63ac.tar.gz
xpybar-a8b3225519bb5df5c851ed57fb4ead4dda1f63ac.tar.bz2
xpybar-a8b3225519bb5df5c851ed57fb4ead4dda1f63ac.tar.xz
Fix error in days per months table
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/plugins/leapsec.py')
-rw-r--r--src/plugins/leapsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/leapsec.py b/src/plugins/leapsec.py
index 8af0404..430cd96 100644
--- a/src/plugins/leapsec.py
+++ b/src/plugins/leapsec.py
@@ -72,7 +72,7 @@ class LeapSeconds:
, 'NOV' : 11
, 'DEC' : 12
}
- DAYS_OF_MONTHS = [-1, 31, 28, 31, 30, 31, 30, 30, 31, 30, 31, 30, 31]
+ DAYS_OF_MONTHS = [-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
def translate(announcement):
announcement[0] = int(announcement[0])
announcement[1] = MONTHS[announcement[1]]