Skip to content

Issue #207: Fix numFmtID when chk_exists returns None#208

Open
carvitup wants to merge 1 commit intodilshod:masterfrom
carvitup:master
Open

Issue #207: Fix numFmtID when chk_exists returns None#208
carvitup wants to merge 1 commit intodilshod:masterfrom
carvitup:master

Conversation

@carvitup
Copy link
Copy Markdown

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')

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')
@carvitup
Copy link
Copy Markdown
Author

@dilshod

Does this request make sense? Do you need more clarification on it?

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

Successfully merging this pull request may close these issues.

1 participant