Skip to content

Commit 3334a25

Browse files
Use YAML safe_load instead of load just in case
1 parent 3f84c56 commit 3334a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/guiserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
try:
99
with open( '../config.yaml', 'r' ) as f:
10-
settings = yaml.load( f )
10+
settings = yaml.safe_load( f )
1111
except IOError:
1212
print "Error reading config.yaml, have you created one? (Hint: Try running ./generate_config.py)"
1313
exit()

0 commit comments

Comments
 (0)