Fix format_table

Merged arthur-zzz requested to merge arthur-zzz/noc:arthur-zzz-master-patch-52971 into master

Fix traceback "TypeError: object of type 'int' has no len()"

https://pastebin.com/HTX6gNqN

Merge request reports