Skip to content

Commit 93abd3a

Browse files
authored
Merge pull request #13 from b1nslashsh/master
security FIX - use safe load
2 parents 36fb992 + 8e761e4 commit 93abd3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitconsensus/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def reloadSettings():
1515
global settings
1616
if os.path.isfile(path):
1717
with open(path, 'r') as f:
18-
settings = yaml.load(f)
18+
settings = yaml.safe_load(f)
1919
return settings
2020

2121

0 commit comments

Comments
 (0)