Commit 82ffcb56 authored by Vivien Alger's avatar Vivien Alger

Added string formating to instanciate_wrapper function

parent 4c2a1939
......@@ -176,12 +176,10 @@ class Recipe(BaseSlapRecipe):
Returns : path to the running wrapper
"""
config_dictionnary.update(self.options)
wrapper_template_location = pkg_resources.resource_filename(
__name__, os.path.join(
'template', 'name_run.in'))
'template', '%s_run.in' % name))
runner_path = self.createRunningWrapper(name,
self.substituteTemplate(wrapper_template_location, config_dictionnary))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment