Skip to content

Commit b59d8cb

Browse files
committed
bugfix in save text util
1 parent a271fe1 commit b59d8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quapy/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def save_text_file(path, text):
208208
:param text: text to save.
209209
"""
210210
create_parent_dir(path)
211-
with open(text, 'wt') as fout:
211+
with open(path, 'wt') as fout:
212212
fout.write(text)
213213

214214

0 commit comments

Comments
 (0)