Skip to content

Commit cc3620f

Browse files
pre-commit-ci[bot]1vank1n
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4dd200c commit cc3620f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

oauth2_provider/oauth2_validators.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,7 @@ def get_or_create_user_from_content(self, content):
341341
342342
Returns an UserModel instance;
343343
"""
344-
user, _ = UserModel.objects.get_or_create(
345-
**{UserModel.USERNAME_FIELD: content["username"]}
346-
)
344+
user, _ = UserModel.objects.get_or_create(**{UserModel.USERNAME_FIELD: content["username"]})
347345
return user
348346

349347
def _get_token_from_authentication_server(

0 commit comments

Comments
 (0)