project-stats

keep track of your projects
git clone https://git.ce9e.org/project-stats.git

commit
a2da84ff99d3fe40f5978bd11aeece2a98c417a6
parent
664a966262c8af5c2168d2a7b67eb246429f9bab
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2016-06-16 20:34
fix unsafe yaml load

Diffstat

M project_stats.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/project_stats.py b/project_stats.py

@@ -418,7 +418,7 @@ def select_config(args):
  418   418 
  419   419 def load_config(path):
  420   420     with open(path) as fh:
  421    -1         return yaml.load(fh)
   -1   421         return yaml.safe_load(fh)
  422   422 
  423   423 
  424   424 def parse_args():