KeyError in `getSheetIdByName` (since 0.7.5)
See original GitHub issueThe naming in Xlsx2csv.workbook.sheets
has changed from [{'name': 'foo', 'id': 42}]
to [{'name': 'foo', 'index': 42}]
, but in Xlsx2csv.getSheetIdByName
, id
is still used instead of index
. This causes a KeyError.
Also, this caused my code to break, since I didn’t expect any breaking changes from a minor release like this. Maybe change it back to id
and switch to index
in 0.8.0?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done
Works like a charm, thanks for solving this 😃