We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 027c593 commit 3a6e55fCopy full SHA for 3a6e55f
1 file changed
easypy/bunch.py
@@ -87,7 +87,7 @@ def from_json(cls, d):
87
@classmethod
88
def from_yaml(cls, d):
89
import yaml
90
- return cls.from_dict(yaml.load(d))
+ return cls.from_dict(yaml.safe_load(d))
91
92
93
def from_xml(cls, d):
0 commit comments