From 1b48ca2f858da38fe710418feb1b52e7052570a7 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 15 May 2020 10:45:56 -0700 Subject: [PATCH] don't let id be none on remote_user --- fedireads/remote_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedireads/remote_user.py b/fedireads/remote_user.py index aaffd6f74..955f6bfb5 100644 --- a/fedireads/remote_user.py +++ b/fedireads/remote_user.py @@ -42,7 +42,7 @@ def get_or_create_remote_user(actor): def create_remote_user(data): ''' parse the activitypub actor data into a user ''' - actor = data.get('id') + actor = data['id'] actor_parts = urlparse(actor) # the webfinger format for the username.