aboutsummaryrefslogtreecommitdiffstats
path: root/datamaps/plugins/dft/master.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2021-05-16 20:49:47 +0100
committerMatthew Lemon <matt@matthewlemon.com>2021-05-16 20:49:47 +0100
commite3f26229d0f69ddb93b866e184626337c30778c2 (patch)
treef717215435d45d6bfb5f80bc9db877cb9ed0b90f /datamaps/plugins/dft/master.py
parenta3025ff72dc89a3a26dab359da8f41769bab3b97 (diff)
changed api for month
Diffstat (limited to 'datamaps/plugins/dft/master.py')
-rw-r--r--datamaps/plugins/dft/master.py4
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