Clean up server responses

This commit is contained in:
Subnet_Masked 2024-02-04 16:36:02 -05:00
parent 81df9ef443
commit 98df6c4a98
Signed by: Subnet_Masked
GPG key ID: E1BB06A2490954E9

View file

@ -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')