Fix flake8 error
This commit is contained in:
parent
6b546cd621
commit
4958de92d3
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ _log_handler = logging.FileHandler( LOG_FILE, mode = 'w' )
|
|||
_log_handler.setFormatter(
|
||||
logging.Formatter( '%(asctime)s - %(levelname)s - %(message)s' ) )
|
||||
|
||||
|
||||
def SetUpLogging( logger ):
|
||||
logger.setLevel( logging.DEBUG )
|
||||
if _log_handler not in logger.handlers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue