Skip to content

Commit

Permalink
Fix bug to excel writer (#120)
Browse files Browse the repository at this point in the history
* fixed bug when parsing engine parameters

* version bump
  • Loading branch information
guilhermebs authored Oct 26, 2022
1 parent 4a7174f commit cbf5521
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.0.16]

### Fixed
- Bug causing `write_excel` `engine_kwargs` arguments to not be passed on to the engine.

## [0.0.15]

### Added
Expand Down
2 changes: 1 addition & 1 deletion pdtable/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flake8: noqa

__version__ = "0.0.15"
__version__ = "0.0.16"

CSV_SEP = ";" # User can overwrite this default

Expand Down
2 changes: 1 addition & 1 deletion pdtable/io/excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,5 @@ def write_excel(
f"Tried using: '{backend.name.lower()}'.\n"
f"Please install {backend.name.lower()} for Excel I/O support."
) from err
engine_kwargs = {} if engine_kwargs is None else {}
engine_kwargs = {} if engine_kwargs is None else engine_kwargs
write_excel_func(tables, to, na_rep, styles, sep_lines, engine_kwargs)

0 comments on commit cbf5521

Please sign in to comment.