Reword debug

This commit is contained in:
Yorick Barbanneau 2022-04-17 22:09:30 +02:00
parent 1ed142c7fa
commit 99e9fdaec0

View file

@ -80,7 +80,7 @@ if __name__ == '__main__':
logger = logging.getLogger()
if args.verbose is True:
logger.setLevel(logging.DEBUG)
logger.debug('Debug mode actiuvbated')
logger.debug('Debug mode activated')
tty_handler = logging.StreamHandler()
@ -88,7 +88,6 @@ if __name__ == '__main__':
tty_handler.setFormatter(CustomFormatter())
logger.addHandler(tty_handler)
logging.debug("Ceci est une test")
if not os.path.exists(args.source + '/' + args.states):
logger.critical('can\'t find source file for states')