mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 10:01:04 +00:00
black code
This commit is contained in:
parent
803bba71a6
commit
f0e1767bc9
1 changed files with 4 additions and 1 deletions
|
@ -317,7 +317,10 @@ def get_representative():
|
||||||
user = models.User.objects.get(username=username)
|
user = models.User.objects.get(username=username)
|
||||||
except models.User.DoesNotExist:
|
except models.User.DoesNotExist:
|
||||||
user = models.User.objects.create_user(
|
user = models.User.objects.create_user(
|
||||||
username=username, email=email, local=True, localname=INSTANCE_ACTOR_USERNAME
|
username=username,
|
||||||
|
email=email,
|
||||||
|
local=True,
|
||||||
|
localname=INSTANCE_ACTOR_USERNAME,
|
||||||
)
|
)
|
||||||
return user
|
return user
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue