Skip to content

Commit

Permalink
resolves #5
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogaardt committed Mar 22, 2020
1 parent bded903 commit 03e0688
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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.9' # Put this in __init__.py
version='0.1.10' # 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,4 +1,4 @@
__version__ = '0.1.9'
__version__ = '0.1.10'
from xlcompose.core import (
DataFrame, Series, Row, Column, Tabs, CSpacer, RSpacer, Title, Image,
VSpacer, HSpacer)
2 changes: 1 addition & 1 deletion xlcompose/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def __init__(self, *args, **kwargs):
valid = ['Row', 'Column', 'Title', 'Series', 'DataFrame', 'Image']
if len([item[1].__class__.__name__ for item in self.args
if item[1].__class__.__name__ not in valid]) > 0:
raise TypeError(f"Valid objects include {', '.join(valid)}")
raise TypeError('Valid objects include ' + ', '.join(valid))
self.kwargs = kwargs

def __getitem__(self, key):
Expand Down

0 comments on commit 03e0688

Please sign in to comment.