From e3f26229d0f69ddb93b866e184626337c30778c2 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 16 May 2021 20:49:47 +0100 Subject: changed api for month --- datamaps/plugins/dft/master.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'datamaps/plugins/dft/master.py') diff --git a/datamaps/plugins/dft/master.py b/datamaps/plugins/dft/master.py index 04dfc19..ac81bd9 100644 --- a/datamaps/plugins/dft/master.py +++ b/datamaps/plugins/dft/master.py @@ -217,9 +217,9 @@ class Master: 12: "December", } return [ - m.month + m for m in self.quarter.months - if m.month == months[self._declared_month] + if m.name == months[self._declared_month] ][0] @property -- cgit v1.2.3