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

Comments

Projects
None yet
1 participant
@fzumstein
Member

fzumstein commented May 14, 2014

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 added bug labels May 14, 2014

@fzumstein fzumstein changed the title from Check additionally for types.NoneType when turning simple lists into lists of list to Check additionally for None when turning simple lists into lists of list May 21, 2014

@fzumstein fzumstein closed this in db7d022 Jun 13, 2014

@fzumstein fzumstein changed the title from Check additionally for None when turning simple lists into lists of list to 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