Skip to content

Cell.color #602

@bezoff

Description

@bezoff

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

  • OS: linux Manjaro
  • pygsheets version :2.0.6
  • pygsheets installed from (github or pypi):pypi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions