mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
Suppress already_running_popup() if we have args.edmc
This commit is contained in:
parent
6ba01c7bc2
commit
d6e7cbce16
@ -199,7 +199,8 @@ if __name__ == '__main__': # noqa: C901
|
||||
logger.info("An EDMarketConnector.exe process was already running, exiting.")
|
||||
|
||||
# To be sure the user knows, we need a popup
|
||||
already_running_popup()
|
||||
if not args.edmc:
|
||||
already_running_popup()
|
||||
# If the user closes the popup with the 'X', not the 'OK' button we'll
|
||||
# reach here.
|
||||
sys.exit(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user