mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
EDMarketConnector: Log when we exit because 'already running'
This commit is contained in:
parent
ddb53a6ca1
commit
7efd1a5aaa
@ -1374,6 +1374,7 @@ def enforce_single_instance() -> None: # noqa: CCR001
|
||||
ShowWindowAsync(window_handle, SW_RESTORE)
|
||||
SetForegroundWindow(window_handle)
|
||||
|
||||
logger.info(f'A running {applongname} process was found, exiting.')
|
||||
sys.exit(0)
|
||||
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user