mbrenig / SheetSync

A python library to create, update and delete rows of data in a google spreadsheet.
http://sheetsync.readthedocs.org
MIT License
48 stars 18 forks source link

Handle empty keys gracefully #5

Open mbrenig opened 10 years ago

mbrenig commented 10 years ago

Traceback (most recent call last): File "C:/Python27/Scripts/test.py", line 46, in target.sync(group_tracking_data) File "C:\Python27\lib\site-packages\sheetsyncinit.py", line 864, in sync return self._update(raw_data, row_change_callback, delete_rows=True) File "C:\Python27\lib\site-packages\sheetsyncinit.py", line 933, in _update self._delete_flag_row(key_tuple, wks_row) File "C:\Python27\lib\site-packages\sheetsyncinit.py", line 996, in _delete_flag_row cell_elem.cell.inputValue = cell_elem.cell.text+DELETE_ME_FLAG TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'