Skip to content

Commit 92db232

Browse files
fix bug in JsonLineFile.append
1 parent 8863133 commit 92db232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysenal/io/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def write_lines(self, lines):
426426

427427
def append(self, data):
428428
self._to_append()
429-
self._file.append(self._to_string(data))
429+
self._file.write(self._to_string(data))
430430

431431
def append_line(self, line):
432432
self.append(line)

0 commit comments

Comments
 (0)