Adjust empty f-strings to be non-fstrings

This commit is contained in:
Matthias
2020-05-18 11:40:25 +02:00
parent 37fd675aac
commit 5a9a31351a
15 changed files with 40 additions and 43 deletions

View File

@@ -51,7 +51,7 @@ def deploy_new_strategy(strategy_name: str, strategy_path: Path, subtemplate: st
)
additional_methods = render_template_with_fallback(
templatefile=f"subtemplates/strategy_methods_{subtemplate}.j2",
templatefallbackfile=f"subtemplates/strategy_methods_empty.j2",
templatefallbackfile="subtemplates/strategy_methods_empty.j2",
)
strategy_text = render_template(templatefile='base_strategy.py.j2',