Browse Source

Merge "Replaces yaml.load() with yaml.safe_load()"

Zuul 1 year ago
parent
commit
ba600883b4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      gertty/config.py

+ 1
- 1
gertty/config.py View File

@@ -147,7 +147,7 @@ class Config(object):
147 147
             self.printSample()
148 148
             sys.exit(1)
149 149
 
150
-        self.config = yaml.load(open(self.path))
150
+        self.config = yaml.safe_load(open(self.path))
151 151
         schema = ConfigSchema().getSchema(self.config)
152 152
         schema(self.config)
153 153
         server = self.getServer(server)

Loading…
Cancel
Save