Files
octosuite/octosuite
2022-05-20 16:52:52 +02:00

20 lines
535 B
Python

#!/usr/bin/env python3
import logging
from utils.colors import Color
from utils.misc import Banner
from core.main import Octosuite, Attributes, logMsg
print(Banner.nameLogo)
if __name__ == '__main__':
try:
Octosuite().onStart()
except KeyboardInterrupt:
logging.warning(logMsg.Ctrl)
print(Attributes.warning, logMsg.Ctrl)
except Exception as e:
logging.error(logMsg.Error.format(e))
print(Attributes.error, logMsg.Exception.format(f'{Color.red}{e}{Color.reset}'))