Skip to content

Commit

Permalink
modified: metax/gui/metax_gui/generic_thread.py
Browse files Browse the repository at this point in the history
  • Loading branch information
byemaxx committed Oct 2, 2024
1 parent bcde45f commit 45562bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metax/gui/metax_gui/generic_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __init__(self, function, *args, **kwargs):

# 创建 LoggingHandler,并连接到 text_written 信号
log_handler = LoggingHandler(self.stream_out.text_written)
log_handler.setFormatter(logging.Formatter("%(asctime)s - %(levelname)s - %(message)s"))
log_handler.setFormatter(logging.Formatter("%(levelname)s: %(message)s"))
logging.getLogger().addHandler(log_handler)

self.thread.start()
Expand Down

0 comments on commit 45562bf

Please sign in to comment.