nithinmurali / pygsheets

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

Update address.py #570

Closed shadiwahba closed 1 year ago

shadiwahba commented 1 year ago

there is a bug when using append_table(). label API returns title with '' around it so it ends up raising raise InvalidArgumentValue("This range already has a worksheet with different title set.")

fix is to remove the quotation marks from label.

Thanks

nithinmurali commented 1 year ago

What if the title has a ' in it? example name'sokay

shadiwahba commented 1 year ago

I think you are right, it should be just removing first and last characters. I will pull that back and add a new PR