Merge pull request #15 from sgmklp/dev

This commit is contained in:
DominikDoom
2022-10-15 16:07:18 +02:00
committed by GitHub

View File

@@ -23,7 +23,7 @@ def get_embeddings():
def write_to_temp_file(name, data):
"""Writes the given data to a temporary file"""
with open(os.path.join(TEMP_PATH, name), 'w') as f:
with open(os.path.join(TEMP_PATH, name), 'w', encoding="utf-8") as f:
f.write(('\n'.join(data)))