From a8ba95169871965f920b9164f855e73ce2be1d70 Mon Sep 17 00:00:00 2001 From: DR695H Date: Fri, 23 Feb 2018 17:26:37 -0500 Subject: removing string encode which doesnt seem to encode Issue-ID: TEST-79 Change-Id: Ice7795a2731466119b5fcaa4ecb4bcb1c0f6d917 Signed-off-by: DR695H --- eteutils/StringTemplater.py | 8 ++------ 1 file 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 -- cgit 1.2.3-korg