summaryrefslogtreecommitdiff
path: root/jfr_playoff/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/template.py')
-rw-r--r--jfr_playoff/template.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/jfr_playoff/template.py b/jfr_playoff/template.py
index 64bc0e7..5fd0c45 100644
--- a/jfr_playoff/template.py
+++ b/jfr_playoff/template.py
@@ -183,6 +183,8 @@ class PlayoffTemplateStrings(object):
class PlayoffTemplate(object):
- @staticmethod
- def get(string, *params):
+ def __init__(self, settings):
+ self.settings = settings
+
+ def get(self, string, *params):
return getattr(PlayoffTemplateStrings, string).decode('utf8') % params