Skip to content

Commit

Permalink
Merge commit '735feb8e8ba15ccdb079540147c9048de855a3da' into remove/g…
Browse files Browse the repository at this point in the history
…et_records---use_index
  • Loading branch information
alifeee committed Nov 6, 2023
2 parents fac44cb + 735feb8 commit eab107b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions gspread/worksheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,14 @@ def cell(
"""
try:
data = self.get(
rowcol_to_a1(row, col), value_render_option=value_render_option
rowcol_to_a1(row, col),
value_render_option=value_render_option,
return_type=GridRangeType.ValueRange,
)

value = str(data.first())
try:
value = str(data[0][0])
except IndexError:
value = str(None)
except KeyError:
value = ""

Expand Down

0 comments on commit eab107b

Please sign in to comment.