nithinmurali / pygsheets

Google Sheets Python API v4
https://pygsheets.readthedocs.io/en/latest
Other
1.51k stars 220 forks source link

Cell.color #602

Open bezoff opened 3 weeks ago

bezoff commented 3 weeks ago

Describe the bug When try get cell.color, you get color whole of cells of sheet and this make truble. problem with func: worcksheet.py/Worcksheet/_get_range()

def _get_range(self, start_label, end_label=None, rformat='A1'):
#Add like these
#____________________________________________
        if end_label is None:
            end_label = start_label
#____________________________________________

        grange = GridRange(worksheet=self, start=start_label, end=end_label)
        if rformat == "A1":
            return grange.label
        else:
            return grange.to_json()

System Information