Reword debug
This commit is contained in:
parent
1ed142c7fa
commit
99e9fdaec0
1 changed files with 1 additions and 2 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue