Skip to content

Commit

Permalink
Fix yaml.load
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Jul 16, 2024
1 parent 1d0d5d9 commit f5bee85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ed/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def from_entity_info(e: EntityInfo) -> Entity:

if e.type == "person":
try:
pp_dict = yaml.load(e.data)
pp_dict = yaml.load(e.data, yaml.SafeLoader)
del pp_dict["position"]
del pp_dict["header"]
entity.person_properties = PersonProperties(parent_entity=entity, **pp_dict)
Expand Down

0 comments on commit f5bee85

Please sign in to comment.