summaryrefslogtreecommitdiffstats
path: root/eteutils/StringTemplater.py
diff options
context:
space:
mode:
Diffstat (limited to 'eteutils/StringTemplater.py')
-rw-r--r--eteutils/StringTemplater.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/eteutils/StringTemplater.py b/eteutils/StringTemplater.py
index 36ddfab..43d107e 100644
--- a/eteutils/StringTemplater.py
+++ b/eteutils/StringTemplater.py
@@ -3,11 +3,7 @@ from string import Template
class StringTemplater:
"""StringTemplater is common resource for templating with strings."""
-
+
def template_string(self, template, values):
"""Template String takes in a string and its values and converts it using the string.Template class"""
- return Template(template).substitute(values)
-
- def string_Encoder(self,data):
- data = json.dumps(data)
- return data \ No newline at end of file
+ return Template(template).substitute(values) \ No newline at end of file