server-clear.py: returns now a error code if argument is invalid

This commit is contained in:
berhsi 2019-07-26 21:57:07 +02:00
parent 6574a58e15
commit fd49e706f3

View file

@ -21,6 +21,7 @@ def connection_handle(conn):
conn.send(b'3') conn.send(b'3')
else: else:
print('Invalid argument') print('Invalid argument')
conn.send(b'3')
return False return False
return True return True