Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix numFmtID when chk_exists returns None
cellXfs._attrs['applyNumberFormat'].value returns a literal 'true' or 'false' which throws an error when int() is called. Switch numFmtId = int(cellXfs._attrs['applyNumberFormat'].value) to numFmtId = int(cellXfs._attrs['applyNumberFormat'].value == 'true')
- Loading branch information
71f78ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cellXfs._attrs['applyNumberFormat'].value returns a literal 'true' or 'false' which throws an error when int() is called. Switch numFmtId = int(cellXfs._attrs['applyNumberFormat'].value) to numFmtId = int(cellXfs._attrs['applyNumberFormat'].value == 'true')
Fix for Issue #207