Skip to content

Commit

Permalink
fix for yaml6.0 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
granrothge committed Aug 18, 2022
1 parent 9e7ff5a commit 75faa96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiphonon/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def to_yaml(self, path):
return
def from_yaml(self, path):
with open(path) as stream:
d = yaml.load(stream)
d = yaml.load(stream,Loader=yaml.FullLoader)
for k, v in d.items():
setattr(self, k,v)
continue
Expand Down

0 comments on commit 75faa96

Please sign in to comment.