Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bogaardt committed Dec 16, 2019
1 parent b70b35b commit 78e2980
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
descr = "A declarative API for composing spreadsheets from python"
name = 'xlcompose'
url = 'https://github.com/jbogaardt/xlcompose'
version='0.1.2' # Put this in __init__.py
version='0.1.3' # Put this in __init__.py

data_path = ''
setup(
Expand Down
2 changes: 1 addition & 1 deletion xlcompose/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.1.2'
__version__ = '0.1.3'
from xlcompose.core import (
DataFrame, Series, Row, Column, Tabs, CSpacer, RSpacer, Title, Image, Sheet)
2 changes: 2 additions & 0 deletions xlcompose/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,8 @@ def format_validation(self, formats):
self.data.columns,
[formats] * len(self.data.columns))))
else:
formats = {k: v if type(v) is dict else {'num_format': v}
for k, v in formats.items()}
self.formats.update(formats)
else:
pass
Expand Down

0 comments on commit 78e2980

Please sign in to comment.