Skip to content

Commit

Permalink
Merge pull request #34 from AdamWill/flask-jsonify-deprecated
Browse files Browse the repository at this point in the history
Replace deprecated JSONIFY_PRETTYPRINT_REGULAR usage
  • Loading branch information
sigmavirus24 authored Mar 22, 2024
2 parents 8887548 + a576ebe commit a50a0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpbin/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def jsonify(*args, **kwargs):

app = Flask(__name__, template_folder=tmpl_dir)
app.debug = bool(os.environ.get("DEBUG"))
app.config["JSONIFY_PRETTYPRINT_REGULAR"] = True
app.json.compact = False

app.add_template_global("HTTPBIN_TRACKING" in os.environ, name="tracking_enabled")

Expand Down

0 comments on commit a50a0d7

Please sign in to comment.