Set overwrite to True
This commit is contained in:
@@ -7,8 +7,8 @@ Render Templates
|
|||||||
|
|
||||||
|
|
||||||
class WOTemplate():
|
class WOTemplate():
|
||||||
def tmpl_render(self, fileconf, template, data, overwrite=False):
|
def tmpl_render(self, fileconf, template, data, overwrite=True):
|
||||||
if overwrite:
|
if (not overwrite):
|
||||||
data = dict(data)
|
data = dict(data)
|
||||||
Log.debug(self, 'Writting the configuration to '
|
Log.debug(self, 'Writting the configuration to '
|
||||||
'file {0}'.format(fileconf))
|
'file {0}'.format(fileconf))
|
||||||
|
|||||||
Reference in New Issue
Block a user