forked from mirrors/bookwyrm
don't let id be none on remote_user
This commit is contained in:
parent
a0507edcac
commit
1b48ca2f85
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue