From fd49e706f3a2f6d8acd4943c764b0d03072ae4df Mon Sep 17 00:00:00 2001 From: berhsi Date: Fri, 26 Jul 2019 21:57:07 +0200 Subject: [PATCH] server-clear.py: returns now a error code if argument is invalid --- server-clear.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server-clear.py b/server-clear.py index 9dbd393..f3965c2 100755 --- a/server-clear.py +++ b/server-clear.py @@ -21,6 +21,7 @@ def connection_handle(conn): conn.send(b'3') else: print('Invalid argument') + conn.send(b'3') return False return True