diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2021-05-16 20:49:47 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2021-05-16 20:49:47 +0100 |
commit | e3f26229d0f69ddb93b866e184626337c30778c2 (patch) | |
tree | f717215435d45d6bfb5f80bc9db877cb9ed0b90f /datamaps/plugins/dft/master.py | |
parent | a3025ff72dc89a3a26dab359da8f41769bab3b97 (diff) |
changed api for month
Diffstat (limited to 'datamaps/plugins/dft/master.py')
-rw-r--r-- | datamaps/plugins/dft/master.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |