all: implement black as code formatter
This commit is contained in:
@ -12,6 +12,6 @@ def user_get_or_create(**kwargs):
|
||||
except IntegrityError:
|
||||
# At this point we've already checked that there is no existing connection
|
||||
# to any user. Hence if we can't create the user,
|
||||
kwargs['username'] = '%s_1' % kwargs['username']
|
||||
kwargs["username"] = "%s_1" % kwargs["username"]
|
||||
new_user = User.objects.create_user(**kwargs)
|
||||
return new_user
|
||||
|
||||
Reference in New Issue
Block a user