From e25463ff89d9be132c69322aaaa9ceb7e9cefaf8 Mon Sep 17 00:00:00 2001 From: Jason SECULA Date: Thu, 16 Oct 2025 09:32:36 +0200 Subject: [PATCH] Correction erreur de frappe pour le nom de la variable --- scripts/includes/GLPIAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/includes/GLPIAPI.py b/scripts/includes/GLPIAPI.py index ab07875..f8d3dae 100644 --- a/scripts/includes/GLPIAPI.py +++ b/scripts/includes/GLPIAPI.py @@ -158,7 +158,7 @@ class GLPIAPI: if(device.OS in windowsOSTranslation.keys()): inventory.SetOperatingSystem(platformName, windowsOSTranslation[str(device.OS)], osArch) else: - plaftormName = "Windows Desktop" + platformName = "Windows Desktop" inventory.SetOperatingSystem(platformName, device.OS, osArch) else: inventory.SetOperatingSystem(platformName, device.OS, osArch)