Fixed source creation bug

This commit is contained in:
2021-05-19 08:01:02 +02:00
parent f611aa73db
commit b931ba6e17
14 changed files with 31 additions and 68 deletions

View File

@@ -19,6 +19,6 @@ class TemplateBuilder:
if not os.path.isdir(file_rel_path):
os.makedirs(file_rel_path)
with open(file_path, 'w') as license_file:
license_file.write(template.value)
license_file.close()
with open(file_path, 'w') as file:
file.write(template.value)
file.close()