From acb5c8c2b2c09ffd8cca57299b1873079f4ee9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Miguel=20Calca=C3=B1o?= Date: Tue, 1 Aug 2023 22:18:04 -0400 Subject: [PATCH] Update models.py Line 23 : changes yaml.load -> yaml.full_load --- faicon/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faicon/models.py b/faicon/models.py index 689beb8b..92fd88fd 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.full_load(stream) return data_loaded