1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-04 01:21:03 +03:00

Suppress already_running_popup() if we have args.edmc

This commit is contained in:
Athanasius 2021-03-08 15:26:48 +00:00
parent 6ba01c7bc2
commit d6e7cbce16

View File

@ -199,6 +199,7 @@ 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
if not args.edmc:
already_running_popup()
# If the user closes the popup with the 'X', not the 'OK' button we'll
# reach here.