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

config: Update some 'callers' of config.shutting_down for it being a property

This commit is contained in:
Athanasius 2021-01-12 15:45:14 +00:00
parent 3ed08f0f7e
commit a8aab186bf
3 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ class Dashboard(FileSystemEventHandler):
# Can be called either in watchdog thread or, if polling, in main thread.
def process(self, logfile=None):
if config.shutting_down():
if config.shutting_down:
return
try:

View File

@ -128,7 +128,7 @@ if platform == 'darwin':
self.acquire_state = HotkeyMgr.ACQUIRE_INACTIVE
def _acquire_poll(self):
if config.shutting_down():
if config.shutting_down:
return
# No way of signalling to Tkinter from within the monkey-patched event handler that doesn't

View File

@ -371,7 +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