Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when loading databook from XLS #563

Merged
merged 1 commit into from
Sep 23, 2023

Conversation

jpvanhal
Copy link
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
Copy link

codecov bot commented Sep 23, 2023

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

Copy link
Contributor

@claudep claudep left a comment

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
19 checks passed
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