diff --git a/django_make_app/io_utils.py b/django_make_app/io_utils.py index 999164b..f4417fb 100644 --- a/django_make_app/io_utils.py +++ b/django_make_app/io_utils.py @@ -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):