summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/view.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/view.py b/scripts/view.py
index 48c6f71..655d474 100755
--- a/scripts/view.py
+++ b/scripts/view.py
@@ -80,7 +80,7 @@ class viewer(base.base):
#--------------------
def set_data(self, file):
F = open(file, "r+")
- self.data = yaml.load(F)
+ self.data = yaml.safe_load(F)
F.close()
self.file = file