From 1228e2ac2ae4a1dabb3c50e6d57d4ccd2b97c36e Mon Sep 17 00:00:00 2001 From: Jason Secula Date: Thu, 10 Jul 2025 19:45:04 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20du=20bug=20lorsque=20GLPI=20a=20pl?= =?UTF-8?q?usieurs=20fois=20le=20m=C3=AAme=20appareil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/includes/GLPIAPI.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/includes/GLPIAPI.py b/scripts/includes/GLPIAPI.py index 39e147d..2b3b984 100644 --- a/scripts/includes/GLPIAPI.py +++ b/scripts/includes/GLPIAPI.py @@ -55,6 +55,7 @@ class GLPIAPI: return deviceID, data, search["totalcount"] elif(search["totalcount"] > 1): + deviceID = list(search["data"].keys()) return deviceID, search["data"], search["totalcount"] else: return None, None, 0