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

Check additionally for None when checking for single cells #16

Closed
fzumstein opened this issue May 14, 2014 · 0 comments
Closed

Check additionally for None when checking for single cells #16

fzumstein opened this issue May 14, 2014 · 0 comments

Comments

@fzumstein
Copy link
Member

Otherwise, something like [None, None] causes an Error when written to Excel.

Correct Line 472 and possibly other ocurrencies (TODO: factor out the check for single cells).

# Simple Lists: Turn into list of lists
if isinstance(data, list) and (isinstance(data[0], (numbers.Number, string_types, time_types) or data[0] is None):
@fzumstein fzumstein changed the title Check additionally for types.NoneType when turning simple lists into lists of list Check additionally for None when turning simple lists into lists of list May 21, 2014
@fzumstein fzumstein changed the title Check additionally for None when turning simple lists into lists of list Check additionally for None when checking for single cells Jun 14, 2014
@fzumstein fzumstein added this to the v0.1.0 milestone Jun 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant