diff --git a/multiphonon/ui/__init__.py b/multiphonon/ui/__init__.py index 1be36d6..00b6a9b 100644 --- a/multiphonon/ui/__init__.py +++ b/multiphonon/ui/__init__.py @@ -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