1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 16:27:13 +03:00

plug.py: Avoid Tk event_generate() call from show_error() if in shutdown

# Conflicts:
#	plug.py
This commit is contained in:
Athanasius 2021-03-22 14:08:53 +00:00
parent 2459c40c48
commit 719a58cbe9

View File

@ -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