Add basic status messages
This commit is contained in:
parent
b65b9d0f95
commit
82766e8b50
@ -86,9 +86,12 @@ def main():
|
|||||||
serverAddr = sys.argv[1].rsplit(":",1)
|
serverAddr = sys.argv[1].rsplit(":",1)
|
||||||
serverAddr[1] = int(serverAddr[1])
|
serverAddr[1] = int(serverAddr[1])
|
||||||
serverAddr = tuple(serverAddr)
|
serverAddr = tuple(serverAddr)
|
||||||
|
print("Connecting to server...")
|
||||||
connection.settimeout(timeout)
|
connection.settimeout(timeout)
|
||||||
connection.connect(serverAddr)
|
connection.connect(serverAddr)
|
||||||
|
print("Sending payload...")
|
||||||
connection.sendall(makePayload(sys.argv[2:]))
|
connection.sendall(makePayload(sys.argv[2:]))
|
||||||
|
print("Ready.")
|
||||||
|
|
||||||
if sys.argv[2] == "watch":
|
if sys.argv[2] == "watch":
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user