Add basic status messages

This commit is contained in:
Fierelier 2021-04-21 12:31:53 +02:00
parent b65b9d0f95
commit 82766e8b50

View File

@ -86,9 +86,12 @@ def main():
serverAddr = sys.argv[1].rsplit(":",1)
serverAddr[1] = int(serverAddr[1])
serverAddr = tuple(serverAddr)
print("Connecting to server...")
connection.settimeout(timeout)
connection.connect(serverAddr)
print("Sending payload...")
connection.sendall(makePayload(sys.argv[2:]))
print("Ready.")
if sys.argv[2] == "watch":
try: