SuperMaZingCoder / TableIt

A free open-source python library for printing out tables.
MIT License
32 stars 14 forks source link

Failing if one of array values is integer #1

Closed biased-badger closed 4 years ago

biased-badger commented 4 years ago

If one of array values is integer, function findLargestElement() fails with TypeError: object of type 'int' has no len() I think it can be fixed with casting value to string before calling len() on it.

biased-badger commented 4 years ago

Made a quick fix. Please, take a look #2

SuperMaZingCoder commented 4 years ago

@uberpwner Thanks for letting me now, I'll take a look.

SuperMaZingCoder commented 4 years ago

@uberpwner I just merged your pull request, thanks, and sorry for taking so long to get back to you.

biased-badger commented 4 years ago

@uberpwner I just merged your pull request, thanks, and sorry for taking so long to get back to you.

No problem :)