Skip to content

Commit

Permalink
Stop using NoExceptionTracebackFormatter (ui logs)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Rider committed Apr 8, 2021
1 parent dbeb99a commit 3c50963
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
6 changes: 2 additions & 4 deletions plover_console_ui/notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ class ConsoleNotificationHandler(logging.Handler):
def __init__(self):
super().__init__()
self.output = None
self.setFormatter(
log.NoExceptionTracebackFormatter("%(levelname)s: %(message)s")
)
self.setFormatter(logging.Formatter(format))

def set_output(self, output):
self.output = output
Expand All @@ -24,4 +22,4 @@ def emit(self, record):
self.output(message)


notification_handler = ConsoleNotificationHandler()
notification_handler = ConsoleNotificationHandler()
3 changes: 0 additions & 3 deletions plover_console_ui/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@


def show_error(title, message):
# TODO gifs for readme
# TODO test all features

# this only gets called if gui.main fails
# so we can't rely on prompt application stuff
# printing is fine
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = plover_console_ui
version = 1.1.1
version = 1.1.2
description = Text User Interface for Plover
long_description = file: README.rst
author = Seth Rider
Expand Down

0 comments on commit 3c50963

Please sign in to comment.