From 75faa9685ba1a7baec433c71564d6fbb3a8a2b8a Mon Sep 17 00:00:00 2001 From: Garrett Granroth Date: Thu, 18 Aug 2022 17:49:52 -0400 Subject: [PATCH] fix for yaml6.0 issue --- multiphonon/ui/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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