From 98df6c4a9811105b0d1178b8e382be5e9fce3730 Mon Sep 17 00:00:00 2001 From: Subnet_Masked Date: Sun, 4 Feb 2024 16:36:02 -0500 Subject: [PATCH] Clean up server responses --- mc_control.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mc_control.py b/mc_control.py index 3605e12..b858c6e 100644 --- a/mc_control.py +++ b/mc_control.py @@ -85,7 +85,7 @@ def send_commands(): with Client(servers[server]['address'], int(servers[server]['port']), passwd=servers[server]['password']) as client: response = client.run(command) - print(servers[server]['name']+': '+response) + print(servers[server]['name']+': '+response+'\n') else: proceed = False print('No command was entered. Exiting.\n') @@ -98,7 +98,7 @@ def send_commands(): with Client(x['address'], int(x['port']), passwd=x['password']) as client: response = client.run(command) - print(x['name']+': '+response) + print(x['name']+': '+response+'\n') else: proceed = False print('No command was entered. Exiting.\n')