From 56389e27d78b7586b96116e028d716f2767bdd34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sp=C3=A1=C4=8Dil?= Date: Tue, 19 May 2026 15:44:36 +0200 Subject: [PATCH] nosec update (#38) --- amcr_viewer/amcr_codelists.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amcr_viewer/amcr_codelists.py b/amcr_viewer/amcr_codelists.py index 5f9989d..dd22064 100644 --- a/amcr_viewer/amcr_codelists.py +++ b/amcr_viewer/amcr_codelists.py @@ -2,7 +2,7 @@ import os import csv import requests -import xml.etree.ElementTree as ET # nosec B314 +import xml.etree.ElementTree as ET # nosec import time from qgis.core import QgsMessageLog, Qgis @@ -101,7 +101,7 @@ def fetch_set(internal_name, api_set, task=None): try: response = requests.get(BASE_URL, params=params, timeout=30) response.raise_for_status() - root = ET.fromstring(response.content) + root = ET.fromstring(response.content) # nosec records = root.findall('.//oai:record', NS) for rec in records: