forked from Krautspace/doorstatus
server-clear.py: returns now a error code if argument is invalid
This commit is contained in:
parent
6574a58e15
commit
fd49e706f3
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ def connection_handle(conn):
|
|||
conn.send(b'3')
|
||||
else:
|
||||
print('Invalid argument')
|
||||
conn.send(b'3')
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in a new issue