From 719a58cbe9582282005802a250668eda750b08ce Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 22 Mar 2021 14:08:53 +0000 Subject: [PATCH] plug.py: Avoid Tk event_generate() call from show_error() if in shutdown # Conflicts: # plug.py --- plug.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plug.py b/plug.py index 3f1a175a..c51342c9 100644 --- a/plug.py +++ b/plug.py @@ -371,8 +371,7 @@ def show_error(err): :param err: .. versionadded:: 2.3.7 """ - - if config.shutting_down: + if config.shutting_down(): logger.info(f'Called during shutdown: "{str(err)}"') return