Fix python 3 bug in TabularAsciiReader
aphearin opened this issue · 0 comments
aphearin commented
The current code fails to properly treat the header, which is read in as a byte string in 3.x. The source of the problem is the following line:
assert (type(header_char) == str) or (type(header_char) == bytes)
Thanks to @ saitosmst for identifying the problem and providing a simple solution.