We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 895d20f + 6db66bc commit 9f2878fCopy full SHA for 9f2878f
api/apiserver.py
@@ -30,7 +30,7 @@
30
31
try:
32
with open( '../config.yaml', 'r' ) as f:
33
- settings = yaml.load( f )
+ settings = yaml.safe_load( f )
34
except IOError:
35
print "Error reading config.yaml, have you created one? (Hint: Try running ./generate_config.py)"
36
exit()
0 commit comments