From f276f5dc1931c4795a3d2f08181f81fb32a71dca Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 21 Jun 2015 14:20:06 +0200 Subject: Skip unregistered users MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- fingerchange.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fingerchange.py b/fingerchange.py index 92629fb..045ae46 100644 --- a/fingerchange.py +++ b/fingerchange.py @@ -127,6 +127,9 @@ def handle_client(reader, writer): users = get_users_by_name(site, user) for user in users: + if user['user_type'] == 'unregistered': + continue + msg = format_user(user, long_output) writer.write(msg.encode('utf-8')) -- cgit v1.2.3-70-g09d2