Skip to content

Commit

Permalink
Merge pull request #8 from KOSASIH/deepsource-transform-4b0a8a17
Browse files Browse the repository at this point in the history
style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf
  • Loading branch information
KOSASIH committed May 11, 2024
2 parents 8bbbdce + 14321f7 commit d485cc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/errors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# web/errors.py
from flask import jsonify


@app.errorhandler(404)
def not_found(error):
return jsonify({'error': 'Not found'}), 404
return jsonify({"error": "Not found"}), 404

0 comments on commit d485cc0

Please sign in to comment.