debug pylint fixes
This commit is contained in:
parent
a9991a7a5a
commit
21faf52f2f
|
@ -138,6 +138,7 @@ def configureLogging():
|
|||
|
||||
def resetLogging():
|
||||
"""Reconfigure logging in runtime when state.appdata dir changed"""
|
||||
# pylint: disable=global-statement, used-before-assignment
|
||||
global logger
|
||||
for i in logger.handlers:
|
||||
logger.removeHandler(i)
|
||||
|
|
Reference in New Issue
Block a user