Skip to content

Commit 4c7f6c7

Browse files
authored
PY_EXT: CSV: Make sure entries in dictionary are updated (#65)
1 parent ba6d4ba commit 4c7f6c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py_ext/py_ext_rt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ def CSVWrStr(fname, rowname, colname, content):
278278
# create a new cell
279279
row += [""]*(colidx - len(row)) + [content]
280280

281+
data[rowidx] = row
282+
entry.args = (fname, dialect, col_headers, row_headers, max_row_len, data)
281283
_CSV_str_modified(entry)
282284

283285
return "OK"

0 commit comments

Comments
 (0)