mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-07 02:43:22 +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.")
|
logger.info("An EDMarketConnector.exe process was already running, exiting.")
|
||||||
|
|
||||||
# To be sure the user knows, we need a popup
|
# 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
|
# If the user closes the popup with the 'X', not the 'OK' button we'll
|
||||||
# reach here.
|
# reach here.
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user