Skip to content

Commit

Permalink
fix: use YAML.safe_load, Fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
illagrenan committed Jan 6, 2018
1 parent e42d3bf commit acd8144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_make_app/io_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

def read_yaml_file(filename):
with io.open(filename, mode='r', encoding='utf-8') as the_file:
return yaml.load(the_file)
return yaml.safe_load(the_file)


def optimize_code(filename):
Expand Down

0 comments on commit acd8144

Please # to comment.