Use class write funtion for appending
This commit is contained in:
parent
45b0cafa2b
commit
1522b71317
1 changed files with 2 additions and 2 deletions
|
|
@ -181,8 +181,8 @@ class Shell:
|
|||
)
|
||||
return False
|
||||
|
||||
with open(output_path, "w") as output_file:
|
||||
output_file.write(rendered_content)
|
||||
append = kwargs.get("append", False)
|
||||
self.write_text_file(output_path, rendered_content, append=append)
|
||||
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue