Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

Commit efe8c03

Browse files
committed
Fix #655 Error when logging a non-string
1 parent a3a0dcd commit efe8c03

File tree

1 file changed

+1
-1
lines changed
  • src/freeseer/frontend/qtcommon

1 file changed

+1
-1
lines changed

src/freeseer/frontend/qtcommon/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def emit(self, record):
253253
and Send it to all listeners by calling their message() method"""
254254
self.format(record)
255255
message = {
256-
"message": record.msg % record.args,
256+
"message": record.message,
257257
"level": record.levelname,
258258
"levelno": record.levelno,
259259
"time": record.asctime,

0 commit comments

Comments
 (0)