mirror of https://github.com/pallets/flask.git
clean up unused function from prefixed_env pr
This commit is contained in:
parent
2f5a2ab82e
commit
41aaaf7fa0
|
|
@ -7,13 +7,6 @@ import typing as t
|
|||
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"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue