Browse Source

Added a newline

pull/334/head
Armin Ronacher 13 years ago
parent
commit
ebd7468807
  1. 1
      flask/helpers.py

1
flask/helpers.py

@ -56,6 +56,7 @@ def _assert_have_json():
if not json_available: if not json_available:
raise RuntimeError('simplejson not installed') raise RuntimeError('simplejson not installed')
# figure out if simplejson escapes slashes. This behaviour was changed # figure out if simplejson escapes slashes. This behaviour was changed
# from one version to another without reason. # from one version to another without reason.
if not json_available or '\\/' not in json.dumps('/'): if not json_available or '\\/' not in json.dumps('/'):

Loading…
Cancel
Save