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:
parent
3ed08f0f7e
commit
a8aab186bf
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user