Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 5f53672 commit 603cc3a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hasjob/views/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ def lastuser_error(error, error_description=None, error_uri=None):
flash("You denied the request to login", category='error')
return redirect(get_next_url())
return Response(
"Error: %s\n"
"Description: %s\n"
"URI: %s" % (error, error_description, error_uri),
"Error: %s\nDescription: %s\nURI: %s" % (error, error_description, error_uri),
mimetype="text/plain",
)

Expand Down

0 comments on commit 603cc3a

Please sign in to comment.