diff --git a/faicon/models.py b/faicon/models.py index 689beb8b..91a010bd 100644 --- a/faicon/models.py +++ b/faicon/models.py @@ -20,7 +20,7 @@ def get_icon_list(): check FAICON_YAML_FILE setting.".format(YAML_FILE) ) with open(file, 'r', encoding='utf-8') as stream: - data_loaded = yaml.load(stream) + data_loaded = yaml.safe_load(stream) return data_loaded