Fix column wrapping breaking with None values (fixes #312)
When using wrapping (i.e. with maxcolwidths) with a column that contains None values, the process crashes with the error TypeError: NoneType takes no arguments.
To solve that, an extra guard case is added, to return None as an empty string instead.
Includes a test.
Fixes #312
It should probably use missingval value for consistency not an empty string.
It should probably use missingval value for consistency not an empty string.
I've updated the pull request
@astanin any chance of this PR getting merged anytime soon? thanks!
@astanin would love to see this merged!
This problem nags me regularly. Could you give this pull request a new try? What is needed to get it merged?
Edit: Ok, I've just seen https://github.com/astanin/python-tabulate/issues/335, so it will maybe get into a new fork.