black code

This commit is contained in:
Hugh Rundle 2023-01-22 16:10:30 +11:00
parent 803bba71a6
commit f0e1767bc9

View file

@ -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