2 lines
109 B
Python
2 lines
109 B
Python
|
def replace_variable(var: str, content: str) -> str:
|
||
|
return content.replace('{{ ' + var + ' }}', content)
|