Skip to content

Commit

Permalink
Merge pull request #30 from jstavel/mitigation-of-unable-to-get-row-text
Browse files Browse the repository at this point in the history
exception just in case that cell.name is None
  • Loading branch information
nagappan committed Oct 20, 2016
2 parents a75bb96 + f022a57 commit 2b248d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldtpd/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def getcellvalue(self, window_name, object_name, row_index, column = 0):
else:
name = cell.name
self._grab_focus(cell)
if not name:
if name is None:
raise LdtpServerException('Unable to get row text')
return name

Expand Down

0 comments on commit 2b248d5

Please sign in to comment.