lakshyacis
3 years ago
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB
1 changed files with
1 additions and
0 deletions
-
src/debug.py
|
|
@ -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) |
|
|
|