Skip to content

Commit

Permalink
clean up unused function from prefixed_env pr
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Mar 25, 2022
1 parent 2f5a2ab commit 41aaaf7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/flask/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@
from werkzeug.utils import import_string


def _json_loads(raw: t.Union[str, bytes]) -> t.Any:
try:
return json.loads(raw)
except json.JSONDecodeError:
return raw


class ConfigAttribute:
"""Makes an attribute forward to the config"""

Expand Down

0 comments on commit 41aaaf7

Please sign in to comment.