Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, title = None):
Texttable.__init__(self)
# set class attributes so that it'll be more like TRex standard output
self.set_chars(['-', '|', '+', '-'])
self.set_deco(Texttable.HEADER | Texttable.VLINES)
self.title = title
def __init__(self, title = None):
Texttable.__init__(self)
# set class attributes so that it'll be more like TRex standard output
self.set_chars(['-', ':', '-', '-'])
self.set_deco(Texttable.VLINES)
self.title = title