Skip to content

Commit acd8144

Browse files
committed
fix: use YAML.safe_load, Fixes #5
1 parent e42d3bf commit acd8144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_make_app/io_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

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

1717

1818
def optimize_code(filename):

0 commit comments

Comments
 (0)