From 9d850d8b15ecf0c9f19fa760a6d5e86f9e25d45c Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 2 Aug 2024 22:45:04 +0200 Subject: [PATCH] Add tests --- playground.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/playground.py b/playground.py index 284eb14..7c87d59 100644 --- a/playground.py +++ b/playground.py @@ -35,8 +35,7 @@ SCRIPTS = { ] } logging.info("Received request to start minecraft servers.") - - + current_pid = [] results = [] @@ -75,7 +74,7 @@ for script_info in SCRIPTS['start_gameservers_minecraft']: "error": str(e) }) logging.info(f"{results =}") -""" +""" current_pid = 8196 try: subprocess.run(['taskkill', '/F', '/PID', str(current_pid)], check=True)