diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-21 13:59:08 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-21 14:03:13 +0100 |
commit | aae76064886b73f5097b73db75ef0871b1d23a0f (patch) | |
tree | 2b0f380c6425180a1292254abd753568478fb53b | |
parent | d6c7f690b7b65fc7d995dc3d739db355a4a6a2fd (diff) | |
download | fingerchange-aae76064886b73f5097b73db75ef0871b1d23a0f.tar.xz |
Clarify missing-site error
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rwxr-xr-x | src/fingerchange.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fingerchange.py b/src/fingerchange.py index 952822f..65a2691 100755 --- a/src/fingerchange.py +++ b/src/fingerchange.py @@ -119,7 +119,8 @@ def handle_client(reader, writer): line = line.decode('utf-8').strip() if '@' not in line: - writer.write('Error: Username or site missing\n'.encode('utf-8')) + writer.write('finger: site missing\n'.encode('utf-8')) + writer.write('finger: expected \'user@site\'\n'.encode('utf-8')) writer.close() return |