Trying to use index of 0 for row or col causes InsufficientCoordinatesException
Created originally on Bitbucket by Anonymous
In the first iteration i==0 and j==0. In worksheet.py, line 275, those are tested for not like this: {{{ #!python
if not coordinate: if not (row and column): pitch a fit...
}}} Perhaps the type should be checked instead?
{{{ #!python
if coordinate is None: if row is None or column is None: raise InsufficientCoordinatesException("You have to provide a value either for 'coordinate' or for 'row' and 'column'") else: coordinate = '%s%s' % (get_column_letter(column), row)
}}}
Now, using an index of '0' might well need to get its own error, but having an unacceptable index is different than not providing the index in the first place.
-Ken