fix: encoding

This commit is contained in:
Florian Hönicke
2023-04-22 23:14:28 +02:00
parent 1815bb595e
commit dec8fbdc7a
7 changed files with 14 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ def get_microservice_path(path, microservice_name, packages, num_approach, versi
return os.path.join(path, microservice_name, f'{num_approach}_{package_path}', f'v{version}')
def persist_file(file_content, file_path):
with open(file_path, 'w') as f:
with open(file_path, 'w', encoding='utf-8') as f:
f.write(file_content)