diff --git a/introduction/lab_code/test.py b/introduction/lab_code/test.py index 71eda687..823b0239 100644 --- a/introduction/lab_code/test.py +++ b/introduction/lab_code/test.py @@ -17,7 +17,7 @@ ''' import yaml, subprocess stream = open('/home/fox/test.yaml', 'r') -data = yaml.load(stream) +data = yaml.load(stream, Loader=yaml.SafeLoader) ''' stdout, stderr = data.communicate() @@ -26,4 +26,4 @@ ''' print(data + "\n") # print(stdout + "\n") -# print(stderr + "\n") \ No newline at end of file +# print(stderr + "\n")