sugar/logger.py: interpolate %x parameters in messages from the logging framework
This commit is contained in:
parent
d598097994
commit
60d6dcd618
@ -38,7 +38,7 @@ class LogWriter:
|
||||
self._log_file = open(log_path, 'w')
|
||||
|
||||
def write_record(self, record):
|
||||
self.write(record.levelno, record.msg)
|
||||
self.write(record.levelno, record.getMessage())
|
||||
|
||||
def write(self, level, msg):
|
||||
if level == logging.ERROR:
|
||||
|
Loading…
Reference in New Issue
Block a user