Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cell.color #602

Open
bezoff opened this issue Sep 27, 2024 · 0 comments
Open

Cell.color #602

bezoff opened this issue Sep 27, 2024 · 0 comments

Comments

@bezoff
Copy link

bezoff commented Sep 27, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant