bugfix in save text util

This commit is contained in:
Alejandro Moreo Fernandez 2024-11-22 11:51:14 +01:00
parent a271fe1231
commit b59d8cbc9e
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ def save_text_file(path, text):
:param text: text to save.
"""
create_parent_dir(path)
with open(text, 'wt') as fout:
with open(path, 'wt') as fout:
fout.write(text)