Skip to content

Commit

Permalink
[pyobj-] fix pyobj-cell #2001
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw committed Aug 17, 2023
1 parent cb25ead commit d0e8a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visidata/pyobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def openRowPyobj(sheet, rowidx):
def openCellPyobj(sheet, col, rowidx):
'Return Sheet of raw Python object of cell.'
name = f'{sheet.name}[{rowidx}].{col.name}'
return PyobjSheet(name, source=col.getValue(row))
return PyobjSheet(name, source=col.getValue(sheet.rows[rowidx]))


@BaseSheet.api
Expand Down

0 comments on commit d0e8a35

Please sign in to comment.