close
Skip to content

Fix crash when loading databook from XLS - #563

Merged
claudep merged 1 commit into
jazzband:masterfrom
jpvanhal:databook-unable-to-load-xls
Sep 23, 2023
Merged

Fix crash when loading databook from XLS#563
claudep merged 1 commit into
jazzband:masterfrom
jpvanhal:databook-unable-to-load-xls

Conversation

@jpvanhal

Copy link
Copy Markdown
Contributor

xlrd.open_workbook() function expects the file_contents argument to be a string.

Fixes #522

`xlrd.open_workbook()` function expects the `file_contents` argument to
be a string.

Fixes jazzband#522
@codecov

codecov Bot commented Sep 23, 2023

Copy link
Copy Markdown

Codecov Report

Merging #563 (a2bc2ef) into master (5431834) will increase coverage by 0.36%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #563      +/-   ##
==========================================
+ Coverage   91.74%   92.11%   +0.36%     
==========================================
  Files          28       28              
  Lines        2823     2827       +4     
==========================================
+ Hits         2590     2604      +14     
+ Misses        233      223      -10     
Files Changed Coverage Δ
src/tablib/formats/_xls.py 95.74% <100.00%> (+10.63%) ⬆️
tests/test_tablib.py 98.79% <100.00%> (+<0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@claudep claudep left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the fix! 👍

@claudep
claudep merged commit 95efc7b into jazzband:master Sep 23, 2023
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.

Databook unable to load xls

2 participants