Suppress already_running_popup() if we have args.edmc

This commit is contained in:
Athanasius committed 2021-03-18 09:54:24 +00:00
1 parent 6ba01c7bc2
commit d6e7cbce16
1 file changed
+2 -1
+2 -1
View File
@@ -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)