Browse Source

Fix #1911 (#1913)

pull/1917/head
Archie Roller 9 years ago committed by David Lord
parent
commit
b8aca21a39
  1. 5
      flask/json.py

5
flask/json.py

@ -19,10 +19,7 @@ from jinja2 import Markup
# Use the same json implementation as itsdangerous on which we # Use the same json implementation as itsdangerous on which we
# depend anyways. # depend anyways.
try: from itsdangerous import json as _json
from itsdangerous import simplejson as _json
except ImportError:
from itsdangerous import json as _json
# Figure out if simplejson escapes slashes. This behavior was changed # Figure out if simplejson escapes slashes. This behavior was changed

Loading…
Cancel
Save