Skip to content

Commit

Permalink
Set JSONEncoder to json._default (#536)
Browse files Browse the repository at this point in the history
* Remove unused JSONEncoder

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pythops and pre-commit-ci[bot] committed Jan 15, 2023
1 parent 9e8c11d commit 7138fc9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/flask_wtf/recaptcha/widgets.py
@@ -1,10 +1,7 @@
from flask import current_app
from flask import json
from flask import Markup
from werkzeug.urls import url_encode

JSONEncoder = json.JSONEncoder

RECAPTCHA_SCRIPT_DEFAULT = "https://www.google.com/recaptcha/api.js"
RECAPTCHA_DIV_CLASS_DEFAULT = "g-recaptcha"
RECAPTCHA_TEMPLATE = """
Expand Down

0 comments on commit 7138fc9

Please sign in to comment.