From d6e7cbce1660b8854c1f491b85d549663f2edfe9 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 8 Mar 2021 15:26:48 +0000 Subject: [PATCH] Suppress already_running_popup() if we have args.edmc --- EDMarketConnector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 215de14e..e95b68b8 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -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)