Rename template function

This commit is contained in:
VirtuBox
2019-09-23 16:35:20 +02:00
parent 907d1dc5f5
commit 782cb2e440
5 changed files with 42 additions and 39 deletions

View File

@@ -9,7 +9,8 @@ Render Templates
class WOTemplate():
def render(self, fileconf, template, data, overwrite=True):
def deploy(self, fileconf, template, data, overwrite=True):
"""Deploy template with render()"""
data = dict(data)
if (not os.path.isfile('{0}.custom'
.format(fileconf))):